UIWebView crasher
If a UIWebView starts loading a page and then is removed from the window before it finishes loading, it seems it can be left with a dangling reference to a layer somewhere. So if you're removing a UIWebView from the view hierarchy and planning to re-insert it later, be sure to call -stopLoading
when it's removed.
This ProTip brought to you by 5 hours of painful debugging.
Written by BJ Homer
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ios
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#