當在Storyboard生成WebKit, 執行App時發生閃退出現以下的錯誤。
Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: 'Could not instantiate class named WKWebView because no class named WKWebView was found; the class needs to be defined in source code or linked in from a library (ensure the class is part of the correct target)'
解決方法是從 project navigator 選取專案後到target 裡面 General ,滑倒最下面 Linked Frameworks and Libraries 新增 WebKit.framework
這樣問題就解決了。