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.
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.
精彩评论