소수의 웹 사이트에서 Google 앱이 다운됩니다. JavaScript와 관련이있는 것 같습니다. 내가 이것에 대해 할 수있는 것에 대한 어떤 아이디어라도 가장 높이 평가 될 것입니다.자바 스크립트 충돌 UIWebview
2012-02-14 14:17:06.356 AppName[18347:17f03] CRASH: -[__NSCFDictionary setObject:forKey:]: attempt to insert nil key
2012-02-14 14:17:06.358 AppName[18347:17f03] Stack Trace: (
0 CoreFoundation 0x02c3806e __exceptionPreprocess + 206
1 libobjc.A.dylib 0x02dc9d0a objc_exception_throw + 44
2 CoreFoundation 0x02be0a78 +[NSException raise:format:arguments:] + 136
3 CoreFoundation 0x02be09e9 +[NSException raise:format:] + 57
4 CoreFoundation 0x02c372b9 -[__NSCFDictionary setObject:forKey:] + 169
5 WebKit 0x03f67d2d -[WebHistoryPrivate visitedURL:withTitle:increaseVisitCount:] + 285
6 WebKit 0x03f688c3 -[WebHistory(WebInternal) _visitedURL:withTitle:method:wasFailure:increaseVisitCount:] + 67
7 WebKit 0x03f5cf3f _ZN20WebFrameLoaderClient19updateGlobalHistoryEv + 921
8 WebCore 0x043d2c64 _ZN7WebCore17HistoryController12replaceStateEN3WTF10PassRefPtrINS_21SerializedScriptValueEEERKNS1_6StringES7_ + 308
9 WebCore 0x043d27e9 _ZN7WebCore7History16stateObjectAddedEN3WTF10PassRefPtrINS_21SerializedScriptValueEEERKNS1_6StringES7_NS0_15StateObjectTypeERi + 167
10 WebCore 0x0462bc2d _ZN7WebCore9JSHistory12replaceStateEPN3JSC9ExecStateE + 439
11 WebCore 0x0462b191 _ZN7WebCore38jsHistoryPrototypeFunctionReplaceStateEPN3JSC9ExecStateE + 113
12 JavaScriptCore 0x06dc2cfc _ZN3JSC11Interpreter14privateExecuteENS0_13ExecutionFlagEPNS_12RegisterFileEPNS_9ExecStateE + 57978
)
Program ended with exit code: 0
Message was edited by earthquakeCountry on 2/13/12 at 9:23 PM
[self.webView loadRequest : [NSURLRequest requestWithURL : [NSURL URLWithString : @ "about : blank"]]]; 앱에 각 페이지가로드되기 전에 빈 화면이 나타나서 사용자가 반응이 좋았다는 것을 보여 주길 원했습니다. 빈 페이지가 삽입되었습니다. 일단 내가 그것을 제거, 그것은 previousposted 충돌을 해결. – user1208489