I am working on a tab bar controller & I have different tab bar elements. Everything works fine but during testing, I found side a small margin on the selected tab as you can see in red circle in image:
tabBarController.tabBar.itemPositioning = UITabBarItemPositioningFill;
Can any one suggest, what am I doing wrong?
Any idea would be great.
尝试设置tabBarItem的imageInsets。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.