Resize all viewcontroller frames in tabbarcontroller

I have a UITabBarController with 4 controllers (navigation controllers). Now I would like to change the frames of all 4 types of controllers, so what is the best thing for?

Note : The UITabBarController will always be reset by frames of its container views, since it will try to match them with the restrictions of its container.

0
source share
2 answers

You can do this by creating a custom scoreboard controller.

Please check the screenshot below on how to create a custom panel to fulfill your requirements.

enter image description here

, , . .

enter image description here

+1

UITabBarController:

UITabBarController , UITabBar origin.y( tabBar.origin.y -= reduced size ) size.height tabBar.size.height += reduced size ), viewcontrollers .

, , UITabBarItem tabBar imageInset.

, viewControllers tabBarController .

0

Source: https://habr.com/ru/post/1670499/


All Articles