我的APP裡面所有的 上一頁按鈕都是用
self.navigationController?.popViewController(animated: true)
但是我從URL Scheme 開啟App之後
所有的 上一頁按鈕 全部都無法作用
AppDelegate裡 URL Scheme設定跳轉頁面是用
let storyboard : UIStoryboard = UIStoryboard(name: "main", bundle: nil)
let VC = storyboard.instantiateViewController(withIdentifier: "PassWordViewController")
window?.rootViewController?.present(VC, animated: true, completion: nil)
請問下要AppDelegate怎麼改 才可以讓整個app的上一頁按鈕 正常?