<分区>
无法转换“UINavigationController”类型的值 (0x37aa0dc8) t
我想调用我的 DetailViewController 的方法。但它们崩溃并显示上述错误
func move()
{
let VC = storyboard!.instantiateViewController(withIdentifier: "PDF") as! PDFViewController
self.navigationController?.pushViewController(VC, animated: true)
}