本文介绍了iPhone - 制作标签栏透明的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

解决方案

由于 UITabBar

code>是 UIView 的子类,您是否尝试调整其 alpha 属性?



请注意,如果您尝试修改与 UITabBarController 相关联的标签栏,则应考虑Apple发出的此警告, a href =http://developer.apple.com/library/ios/#documentation/UIKit/Reference/UITabBar_Class/Reference/Reference.html =nofollow noreferrer> UITabBar的参考资料


How do I make a tab bar transparent in cocoa touch?

解决方案

Since UITabBar is a subclass of UIView, have you tried adjusting its alpha property?

Note that if you are trying to modify a tab bar associated with a UITabBarController, you should consider this warning from Apple, located in the reference for UITabBar:

这篇关于iPhone - 制作标签栏透明的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-26 10:36