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

posted @ 2015-12-17 20:23  Qingyun_Qearl  阅读(619)  评论(0编辑  收藏  举报