【发布时间】:2014-06-18 10:57:29
【问题描述】:
我想为导航栏设置背景,但仅限于被红色矩形四舍五入的那个。我不想在其他两个上显示“Menú”和“Titulo Menu”。
我在 AppDelegate 类中使用此代码:
UIImage *navBarImg = [UIImage imageNamed:@"fondo.png"];
[[UINavigationBar appearance] setBackgroundImage:navBarImg
forBarMetrics:UIBarMetricsDefault];
我该怎么做?有可能吗?
感谢您的帮助
【问题讨论】:
标签: ipad background uinavigationbar ios7.1