iOS设置导航栏透明,保留返回按钮

self.navigationController?.navigationBar.translucent = true

self.navigationController?.navigationBar.setBackgroundImage(UIImage(), forBarMetrics: .Default)

self.navigationController?.navigationBar.shadowImage = UIImage()

你可能感兴趣的:(iOS设置导航栏透明,保留返回按钮)