Reputation: 7050
I used UITabBarController
in my iOS app.
As you know , that UITabBarController's
size is fix the screen of below.
I want to resize that UITabBarController
with some CGRect because i don't want to fix the screen size.
Is there anyway to do like that?
Thanks in advance.
Upvotes: 0
Views: 446
Reputation: 11839
You can update the size, by accessing tab bar frame -
CGRect tabBarFrame=self.tabBar.frame;
// Update the frame values
tabBarFrame.origin.y =;
tabBarFrame.origin.x =;
tabBarFrame.size.hieght =;
tabBarFrame.size.width =;
self.tabBar.frame = tabBarFrame;
Upvotes: 1