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
0
votes
1 answer

How to know when UIWebView is touched by the user

I have a UIViewController , it has a field for putting the location , a field where I write some skills, and a uiWebView where I write the description. I use the uiWebView because I send the description in a html format to the backend. It suits my…
0
votes
1 answer

Integrating an UIWebView in a UICollectionView(UIcollectionViewCell)

I had some problems with integrating an UIWebView in a UiCollectionView. The main problem appeared because the delegate of UiCollectionView: - (CGSize)collectionView:(UICollectionView *)collectionView layout: (UICollectionViewLayout…
0
votes
0 answers

img buttons from json response not working on uiwebview?

Hi how to parse and show the below response from json in a webview using objective c **Questions==Is communication maintained daily through both normal and abnormal conditions?
Hari
  • 11
  • 5
0
votes
1 answer

Override headers in NSURLRequest from shouldStartLoadWithRequest uiwebviewdelegate method?

In this question they stated that "you can override your headers" in the shouldStartLoadWithRequest uiwebviewdelegate method. How would I do that? I thought you can only add headers to a NSMutableURLRequest.
ConfusedDeer
  • 3,335
  • 8
  • 44
  • 72
0
votes
1 answer

UIWebView not loading delegate

I have an apps written with Objective C. I can't load web page to UIWebView. UIWebViewDelegate not working. My app code ; #import @interface Reklamlarim : UIView - (void)webSayfasiYukle; @end I did it this way…
sem sur
  • 21
  • 3
0
votes
1 answer

iOS - UIWebView is not navigating for Sub links in HTML String

I have loaded HTML String in web view which contains some links in it for Web service call. It calls web service properly and also loads new data from web service response into same web view. But it is not allowing me to come back from new page to…
NiksT
  • 271
  • 1
  • 3
  • 14
0
votes
1 answer

Calculate UIWebView height with dynamic content

Hello I would like to know how to calculate height of a uiwebview with the content height is changing from time to time? Therefore, it would change after webviewDidFinishLoad delegate method. e.g. like this one "
Ken Hui
  • 368
  • 3
  • 17
0
votes
1 answer

Why is shouldStartLoadWithRequest only being invoked the first time through?

I'm trying to display a list of web pages the user can switch between in my app. I've done this successfully with documents. however, I don't want the user to be able to navigate from these pages. I found out how to do this by looking it up. The…
0
votes
1 answer

Load a new webpage in the background of an existing UIWebView

I already found an article on stackoverflow about loading urls in the background of the app but that is before the webview has been created. Here is the link: Background Loading a url in a uiwebview I've also implement…
johnmm
  • 21
  • 8
0
votes
0 answers

Change to Different View Controller Immediately after authenticating in a Web View

I have a UIWebView that opens up a webpage in my app where a user can log in to their account. What I want the app to do is to change view controllers immediately after the user has logged into their account without seeing the next webpage in the…
0
votes
1 answer

UIWebView shows whitespace when scrolling to top

I am working on a basic iOS app with UIWebView to load a page in full-screen mode. I can scroll the page, but when I scroll to the top it shows white space. How can it be removed?
Patrik Dendis
  • 313
  • 6
  • 20
0
votes
2 answers

iOS UIWebViewDelegates not called

I have a UIViewController class named WebScreenViewController, which is having an UIWebView. Here is the class implementation file: @implementation WebScreenViewController @synthesize urlString; - (void)viewDidLoad { [super viewDidLoad]; …
0
votes
1 answer

How to customize a website content to present in a scroll view?

I have a perfect example for what i'm trying to do: There is a new app called watchville, its an app for watch lovers, and they present rss from several websites in a nice customized way. This is the page without customization : This is the page…
JohnBigs
  • 2,691
  • 3
  • 31
  • 61
0
votes
1 answer

Can't lock the top of image in the top of the screen while scrolling the page

I a uiimage that I use as cover photo, and I want to use the scroll view to pull down and enlarge but I want the top of the image to stay on top: and this is the method: - (void)scrollViewDidScroll:(UIScrollView *)scrollView;{ CGFloat offset =…
JohnBigs
  • 2,691
  • 3
  • 31
  • 61
0
votes
2 answers

Track Start and end web request at ionic framework

I am using ionic framework and Angular JS. I am not sure where to start to track start of a web request. For end request, I write a directive with onLoad tag. here is the code Directive.js app.directive('iframeOnload', [function(){ return { …