WRNavigationBar_swift
WRNavigationBar_swift copied to clipboard
WRNavigationBar which allows you to change NavigationBar's appearance dynamically
不支持 pod
你好, 什么时候能 用 pod 呢?
1. Update to Swift 4.2; 2. Wrap with CocoaPods.
怎么去掉,谢谢!
添加包到工程后不做任何设置没有了毛玻璃效果
push到ViewController A后,在A里面present一个NavigationController,navigationbar的显示会有问题 barbutton的颜色会有一个变化的过程 见图 
Hey, If you are trying to use `navBarBackgroundAlpha = 0` but giving white background and you want to use imageView example your have to use `navigationController?.navigationBar.isTranslucent = true` Thanks
`// // WRNavigationBar.swift // WRNavigationBar_swift // // Created by wangrui on 2017/4/19. // Copyright © 2017年 wangrui. All rights reserved. // // Github地址:https://github.com/wangrui460/WRNavigationBar_swift import UIKit extension UINavigationBar:WRAwakeProtocol { fileprivate struct...
见代码。 2个地方都要修改。 class func isIphoneX() -> Bool { // return UIScreen.main.bounds.equalTo(CGRect(x: 0, y: 0, width: 375, height: 812)) if (UIScreen.main.bounds.height >= 812) { return true} else{return false} }