xcode8 && swift3.0出现“expression of type UIViewController?is unused ” warning

定制导航返回按钮时,关联的方法中:io

            self.navigationController?.popViewController(animated: true);这句出现警告方法

解决:im

            self.navigationController!.popViewController(animated: true)将?改成!animate

相关文章
相关标签/搜索