【发布时间】:2014-10-31 13:28:38
【问题描述】:
我正在更改 setSelectionIndicatorImage,当我在 iOS 8 上运行应用程序时,图像和常规宽度之间的间距为 tabBar。有没有办法可以将标签栏的高度与setSelectionIndicatorImage 匹配? Also I get margin of few pixels on left side of first tab and right side of last tab, and I need to cover that with image too when tab is selected.
【问题讨论】:
-
请添加修改过的和想要的图片。同时添加您的代码。
-
还可以查看本教程。这可能会有所帮助。 blog.erikvdwal.nl/customizing-the-uitabbar-in-ios-5-and-ios-6
-
请参考选择/取消选择标签栏图像的正确图像尺寸。 developer.apple.com/library/ios/documentation/UserExperience/…
-
您是否能够删除第一个选项卡左侧和最后一个选项卡右侧的几个像素边距?
标签: ios objective-c uitabbar uitabbaritem