Reputation: 1710
Is there any way to force a UITabBarController to be a size less than the full Window size on an iPhone? I noticed if I change its frame size & origin that works until it seems to resize itself.
Upvotes: 1
Views: 178
Reputation: 488
You are better off by creating a customTabBarController and setting
-(UITabBar *) tabBar { return nil; }
And thereupon add your custom TabBar in viewDidLoad
of customTabBarController. Here you could have the frame, background color, autoresize of your choice.
Upvotes: 1