joicxg
Last Updated: February 25, 2016
·
910
· rohitkotian
7adcbf090f8cb75804d58a303a1a1100

iOS 5.1 bug with WebView

Seen the most bizarre bug on iOS 5.1.

If you open a UIWebView, clear the NSDefaults (I mean delete the file completely) and then load the UIWebView again, it crashes the app.

One way to fix this is to remove only those keys which you have saved in defaults.

Source:
http://stackoverflow.com/questions/9679163/why-does-clearing-nsuserdefaults-cause-exc-crash-later-when-creating-a-uiwebview

Say Thanks
Respond