您好,我想将导航栏从状态栏中清除,但是以某种方式无法弄清楚。现在,状态栏覆盖了背面的一部分和标题。
我只使用了一种展示视图控制器的标准方式:
let main = UIStoryboard(name: "Main", bundle: nil)
let leaveListView = main.instantiateViewController(withIdentifier: "LeaveListView") as! LeaveListViewController
present(leaveListView, animated: true, completion: nil)
是否可以通过情节提要更改设置?任何帮助将不胜感激。