You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The app is crashing in KINWebBrowserViewController.m at line #373 (in method progressBarStopLoading) if the modal view controller is dismissed before the web content has finished loading.
Actually, the UIWebView still sends callbacks to its delegate even father the latter has been destroyed. This is because the delegate property of a UIWebView is in assign mode instead of weak, which does not nullify the delegate property automatically.
You should therefore set the delegate property to nil in the dealloc method of the KINWebBrowserViewController class.
Please post a Cocoapods update as soon as you can.
Cheers.
The text was updated successfully, but these errors were encountered:
The app is crashing in
KINWebBrowserViewController.m
at line#373
(in methodprogressBarStopLoading
) if the modal view controller is dismissed before the web content has finished loading.Actually, the
UIWebView
still sends callbacks to its delegate even father the latter has been destroyed. This is because thedelegate
property of aUIWebView
is inassign
mode instead ofweak
, which does not nullify thedelegate
property automatically.You should therefore set the
delegate
property tonil
in thedealloc
method of theKINWebBrowserViewController
class.Please post a Cocoapods update as soon as you can.
Cheers.
The text was updated successfully, but these errors were encountered: