when i tap a button in web view which is connected to action-“stop loading” of that web view
is not working..
its not stops loading even after i press a stop button which is inteded for stop loading content ….
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you have a UIButton connected to an IBAction, that IBAction should look something like this:
where webView is an instance variable (presumably an IBOutlet) that references the UIWebView that you want to stop loading.
You can place a breakpoint on the method to verify that it is being called when you expect it to.