[英]Make custom selected tab bar Item in iOS Swift
I am working on an application using Swift which needs to have a TabBarController and when user will select a tab then that particular tab bar item shows a 3d visual effect (Although it will be an static image I guess) which contains shadow and that tab bar item will be bigger in size as well with different tint colour. 我正在使用Swift的应用程序上工作,该应用程序需要一个TabBarController,并且当用户选择一个选项卡时,该特定的选项卡栏项目将显示3d视觉效果(尽管我猜这将是静态图像),其中包含阴影和该选项卡栏物品的尺寸也会有所不同,并且颜色会有所不同。
Please see the attached image. 请参阅所附图片。
I have searched a lot on internet but no luck. 我在互联网上搜索了很多内容,但没有运气。 Please someone help :( 请有人帮助:(
Use http://cocoapods.org/pods/M13InfiniteTabBar 使用http://cocoapods.org/pods/M13InfiniteTabBar
For as much as I do not like answers in the tone It can't be done , I feel that the specific of your screenshot, namely going outside of the UITabbar
background, can't be done with UITabBarController
. 尽管我不喜欢这个音调中的答案, UITabbar
是无法完成的 ,我觉得您的屏幕快照的具体内容(即超出UITabbar
背景的范围)无法使用UITabBarController
来完成。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.