码迷,mamicode.com
首页 > 移动开发 > 详细

ios UINaviBar 去除分割线

时间:2015-12-08 21:59:12      阅读:228      评论:0      收藏:0      [点我收藏+]

标签:

//For a custom shadow image to be shown, custom background image must also be set with the setBackgroundImage:forBarMetrics: method. If the default background image is used, then the default shadow image will be used regardless of the value of this property.

    UINavigationBar *navigationBar = self.navigationController.navigationBar;

    [navigationBar setBackgroundImage:[UIImage imageWithColor:[UIColor whiteColor]]

                       forBarPosition:UIBarPositionAny

                           barMetrics:UIBarMetricsDefault];

ios UINaviBar 去除分割线

标签:

原文地址:http://www.cnblogs.com/uwking/p/5030952.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!