2
votes

I have a boolean condition that initializes a webView, and in webViewDidFinishLoad loads another delegate to fire once the completions is done. However, since the boolean returns prior the condition "webViewDidFinishLoad", the page never gets fully loaded. How can I make sure webViewDidFinishLoad gets loaded prior the boolean condition?

Thanks

1

1 Answers

4
votes

use this property of webview to check

 @property(nonatomic,readonly,getter=isLoading) BOOL loading;