[英]UITabbarItem - remove the highlighting shadow
I have been looking for an answer to this, but neither SO nor the web seem to have this covered ( I surely oversaw something...). 我一直在寻找答案,但是SO和Web似乎都没有解决这个问题(我肯定监督了某些事情……)。
I would like to remove the shadow of a highlighted UITabBarItem - the one with the rounded edges. 我想删除突出显示的UITabBarItem的阴影-具有圆形边缘的阴影。 I already have custom images for each item and a custom image for the UITabBar.
我已经有每个项目的自定义图像和UITabBar的自定义图像。 I looked into the UITabBarItem class but found no property for it....
我调查了UITabBarItem类,但没有找到它的属性。
What do I have to look for / does anyone have an idea on this? 我要寻找什么/有人对此有想法吗?
The UITabBarItem only take a mask for its icon and generate himself the normal and hilighted state. UITabBarItem仅对其图标使用蒙版,并自行生成正常和高亮状态。 You can not change this.
您无法更改。
If you really want a UITabBarItem different you will have to reimplement everyghting. 如果您真的想让UITabBarItem与众不同,那么您将不得不重新实现一切。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.