Custom TabBar Approach

What should be the best way to create such an effect and control navigation controllers and view controllers ... what if I do not want to resize each subsequent view in the viewcontorller and everything looks as if it is a tabBar

enter image description here

+3
source share
1 answer

I would recommend using UIImageView for a blue background, then 5 UIButtons of a custom type with PNG images for real buttons.

Subclass UIView and put all the code for setting the background and buttons in the init function. This way you can easily place your own TabBar wherever you want.

Separate buttons also make it easy to animate them for transitions if you want.

, :

UITabBar, .

:

a)

b) UITabBar

c) UITabBar . , , .

+3

All Articles