Change the image on UITabBar

≡放荡痞女 提交于 2019-12-11 15:37:09

问题


I a complete beginner when it comes to iOS development. I have recently downloaded a template application so I could learn the basics. I am trying to figure out how to change the photo/image on the bottom UI bar. I have done so much research to no avail.


回答1:


Here you can find an answer, a category in UITabBar that allows you to set a background image programmatically.




回答2:


In iOS 5, UITabBar (and many other UIKit controls) follow a standard procedure for customizing their appearance. Here is a good tutorial on how it works:

http://www.raywenderlich.com/4344/user-interface-customization-in-ios-5



来源:https://stackoverflow.com/questions/10127869/change-the-image-on-uitabbar

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!