简体   繁体   中英

Margin Space on Selected Tabbar in iOS

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:

在此处输入图片说明

在此处输入图片说明 I have already set

 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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM