Mac应用- - 使用WebView 的时候报错。
我在定义一个WebView 实现页面加载的时候,
报错:
[NSKeyedUnarchiver decodeObjectForKey:]: cannot decode object of class (WebView) for key (NSDestination); the class may be defined in source code or a library that is not linked
原来是我虽然import了包,但是没有导入webKit.framework
参考链接如下:http://stackoverflow.com/questions/23469569/problems-with-loading-url-into-webview
如果错过了一天,那么真的就错过一天。不抛弃,不放弃。点一盏心灯给自己。