Questions tagged [uiwebviewdelegate]

The methods declared by the UIWebViewDelegate protocol allow the adopting delegate to respond to messages from the UIWebView class

The methods declared by the UIWebViewDelegate protocol allow the adopting delegate to respond to messages from the UIWebView class. On UIWebViewDelegate, you can find the following methods:

Loading Content

– webView:shouldStartLoadWithRequest:navigationType:

– webViewDidStartLoad:

– webViewDidFinishLoad:

– webView:didFailLoadWithError:

322 questions
-1
votes
1 answer

How to read response or output from a UIWebView in swift 4.0? And how many different ways are there for stringByEvaluatingJavaScript(from:)

I'm opening an URL in UIWbView, where user can enter OTP and after submitting it'll provide following response: {"success":true,""message":payment success"} I want that if the value of success is true, I'll remove UIWebView from superview. I don't…
Pratik Ghadia
  • 31
  • 1
  • 4
-1
votes
3 answers

UIWebview showing blank white screen after loading url

Below is the code i have tried: HTMLBrowserViewController.h IBOutlet UIWebView * webControl; HTMLBrowserViewController.m webControl.scalesPageToFit = YES; webControl.contentMode = UIViewContentModeScaleAspectFit; webControl.delegate =…
-1
votes
2 answers

UIActivityIndicator does not show/hide based on the loading of the UIWebView

I want to load a URL on a UIViewController with an UIWebView and UIActivityIndicatorView, but UIActivityIndicator never appears and UIWebView never loads the URL. This is my code: - (void) viewWillAppear:(BOOL)animated { [super…
Skurt
  • 11
  • 7
-1
votes
2 answers

UIWebview set delegate method in a class

How can i set the delegate method of a UIWebView in a class? when i do it, the app carsh. @interface MineWebViewHandle : NSObject @end //.m @implementation MineWebViewHandle - (BOOL)webView:(UIWebView *)webView…
user2305019
  • 39
  • 1
  • 6
-1
votes
1 answer

iOS 8 UIWebView MediaPlayer Done Event. How can i get it?

In iOS 7, if i want to get UIWebView QuickTime "Done" event. I can use NSNotification to get it. This is my code. [[NSNotificationCenter defaultCenter] addObserver:self …
-1
votes
2 answers

IOS, UIWebview,

Webview delegate shouldstartloadwithrequest recieves url from HTML and when i check the request everything is been converted to small letters: - (BOOL) webView: (UIWebView *) webView shouldStartLoadWithRequest:(NSURLRequest *) request…
Mahesh S
  • 9
  • 1
-2
votes
2 answers

UIWebView setNewDelegate SIGABRT Error

This is Recently Discovered , I just Updated my Xcode to Version 5.1.1 (5B1008) with iOS 7.1.1 So when i Created a Delegate with UIwebview its Crashing with SIGABRT Error . Here are my Xcode Crash Logs , 2014-04-26 11:50:26.890…
Anil
  • 151
  • 1
  • 2
  • 11
1 2 3
21
22