简体   繁体   中英

Change the image on UITabBar

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.

在这里,您可以找到答案,UITabBar中的一个类别,允许您以编程方式设置背景图像。

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM