iOS 去除导航栏下的黑线

Swift:

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

OC:

[self.navigationController.navigationBar setBackgroundImage:[[UIImage alloc] init] forBarMetrics:UIBarMetricsDefault];
[self.navigationController.navigationBar setShadowImage:[[UIImage alloc] init]];

  

上一篇:qcow2文件压缩


下一篇:【DP】BZOJ 1260: [CQOI2007]涂色paint