首页 > 移动平台 > 详细

ios UINaviBar 去除分割线

时间:2015-12-08 21:59:00      阅读:303      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!