iOS Development

Swfit--取消导航栏自带一条线

2017-02-08  本文已影响7人  71150ce14a00

let nav = UINavigationBar.appearance()
nav.barTintColor = StaticData.navApperanceColor
nav.tintColor = StaticData.navTitleColor

    //取消nav下的边框线
    nav.setBackgroundImage(UIImage(), forBarMetrics:UIBarMetrics.Default)
    nav.shadowImage = UIImage()
上一篇下一篇

猜你喜欢

热点阅读