简体   繁体   中英

How to change the tab bar background image to transparent image in ios sdk

How to change tab bar background transparent image? I am using ios sdk 6.1 , i want to change application tab bar with transparent image.

是的,您可以轻松地更改“标签栏背景图片”,只需遵循以下代码即可...

[yourTabBarOutlet setBackgroundImage:[UIImage imageNamed:@"tabBack.png"]];

The easiest way to make a tab bar transparent is by setting the tab bar background image to a transparent image in the interface builder. You can get a transparent png image whose height and width is equal to the tab bar's from the net.

尝试这个

[yourTabBarOutlet setBackgroundImage:[UIImage imageNamed:@"tabBack.png"]];

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