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
vote
0 answers

iOS webView not fitting the content inside screen width?

I know this is a quite a common question , though I can't figure out the solution to this issue. I am loading a url in a webView.I want the web page to fit inside the bounds of the iPhone screen.So I did webView.scalesPageToFit = YES for my…
iSD
  • 103
  • 10
1
vote
1 answer

URL is not loading completely on my UIWebView in iOS?

I am working on an iPhone application, where i am opening an URL to my UIWebView. The problem is URL is not loading perfectly. As per my requirement, i need to add UIWebView as footer view of my table. but the problem is after getting the web view…
user2786
  • 656
  • 4
  • 13
  • 35
1
vote
0 answers

UIWebView - How can I find it fully loaded its content? Especially on inline image content

How can I know whether an UIWebView fully loads/shows its content? I opened a UIWebView that contains lots of inline images in a slow network connection. The UIWebView's delegate method - (void)webViewDidFinishLoad:(UIWebView *)webView was called…
Rajkanth
  • 11
  • 3
1
vote
1 answer

UIWebViewDelegate DidFinishLoad Not Firing In Custom Class (Swift)

I am connecting to a website, logging in, and grabbing the HTML source of the page with an NSURLRequest, which is working fine. I confirm the html source is what I need by printing it to the console. The problem is that I need to get the rendered…
PretzelJesus
  • 869
  • 3
  • 11
  • 21
1
vote
0 answers

How To Get A Value When Swiping Picture on Safari Within App iOS

I hava an app that launches Safari within the app. I can detect whether a link has been clicked or a searched being performed on the Safari. - (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request…
Syah
  • 463
  • 5
  • 13
1
vote
0 answers

How to control goback button hide/unhide feature in webview

I am using webview to show videos. So when I launch the default site I am going to show YouTube. Here I used go back button also. When I launch the app the page is loading perfectly. Now my issues with app: I want to hide and unhide goback button…
user3341324
  • 45
  • 1
  • 9
1
vote
2 answers

UIWebView Not open a link but safari does

I have tried to open a link in UIWebView it does not open and throw error. Error Domain=NSURLErrorDomain Code=-999 "The operation couldn’t be completed. (NSURLErrorDomain error -999.)" UserInfo=0x9a2b020…
Sishu
  • 1,510
  • 1
  • 21
  • 48
1
vote
1 answer

How to find if the scroll position in the webview for scrolling till the end or till the top?

How can I find if the webview has been scrolled till the top or till the last? What checks do I need to keep on scroll offset for these two cases and which function/ delegate menthod, do I need to check it so that I know that the user has scrolled…
tech savvy
  • 1,417
  • 4
  • 21
  • 42
1
vote
0 answers

HyperLink in pdf file, opened by UIWebView crashes app on Open option

I open a PDF file in UIWebView. The PDF has links, and when I long press the link, an actionSheet appears. When tapping on "Open" button, the app crashes for no reasons. This happens on iOS 6 and not on iOS 7.
RDV
  • 31
  • 3
1
vote
0 answers

control is not returned from web view shouldstartload delegate method

In my application i am using Uiwebview for displaying vimeo authorization page, after the user has authorized it, i have to parse the url for OAtoken and dismiss it, for that i am using should startLoad delegate method, but after the process is over…
BalaChandra
  • 632
  • 9
  • 33
1
vote
3 answers

How to load uiwebview from another view controller

I have a uiwebview in first viewcontroller,and i have an uibutton on secondview controller,when i click uibutton i am changing load request. The thing is ,the url is changed but webview didnt reload. FirstViewController -(void)viewDidLoad { …
1
vote
1 answer

UIWebView back button not getting enabled

In my application I have a UIWebView in which I need to add browser like functionality(user can goBack,Forward or reload the page). To achieve this I have used the code for this tutorial. In my code I have only one change in viewDidLoad: I am…
Ajay
  • 1,622
  • 20
  • 36
1
vote
0 answers

Grabbing post parameters in android WebView

In IOS ,we have a delegate method "shouldStartLoadWithRequest"to grab post parameters in UIWebView as described in Grabbing POST data from UIWebView I couldn't find any such method for Android on googling. In Android ,I am able to handle this by…
vijay
  • 2,034
  • 3
  • 19
  • 38
1
vote
1 answer

ios - How to append javascript with HTML content?

I'm trying to get access token,I'm following this link to get that,but some condition fails,I think am not properly append the javascript with HTML content. - (void)connectionDidFinishLoading:(NSURLConnection *)connection { if(_data) { NSString*…
1
vote
0 answers

touch handling inside another view

I assume my problem is an easy one but currently I have some difficulties. I want to use a ViewOne as touch-input view - for example an UIImageView and another view that will handle and use all those touch events. Could be an UIWebView View1 =…
Jebu
  • 345
  • 3
  • 5