我創建了一個混合應用程序,用於打開本機頁面。如果分配給打開頁面的UIViewController
是objective-c類型,那麼該頁面已打開。然而,當斯威夫特型的UIViewController
的,Xcode的拋出以下錯誤:本地頁面呈現錯誤使用WL.NativePage.Show過程
WebKit discarded an uncaught exception in the webView:decidePolicyForNavigationAction:request:frame:decisionListener: delegate: *** setObjectForKey: object cannot be nil (key: SwiftTestPage)
什麼會導致這個錯誤?謝謝你的幫助。