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

Exclude external javascript content from UIWebView delegate methods

I have a UIWebview with delegate methods webViewDidStartLoad webViewDidFinishLoad However, on the page I am loading a facebook chat component which for whatever reason is failing to properly load (cache problem? problem with fb?) And it is hitting…
Eric
  • 1,014
  • 2
  • 13
  • 22
0
votes
1 answer

Detecting if a particular view is a webview

I am creating a application which have webviews as well as native screens.I have created nav controller for moving from 1 native screen to another.For moving from 1 webview to another i am using webview's goBack() method. I want to know how one can…
dead_soldier
  • 429
  • 1
  • 5
  • 18
0
votes
1 answer

In IOS, how to know whether the UIWebView's scroller is at the top?

I am making an iOS application which has an action like this. http://www.flickr.com/photos/71607441@N07/6721920809/ is a full screen web view. when the scroller is on top, If I touch the webview, It goes down and cover half of the screen. (If the…
0
votes
1 answer

UIWebView track user input

is there a way to track the user-input to a uiwebview? In my case the user must fill out several folders in the webpage (Login form). However, the input (strings) should then be handeled by / stored in the app. (App should remember login-info and do…
user1075871
  • 75
  • 1
  • 1
  • 5
0
votes
1 answer

get urls of 2 uiwebview's and put to their own adress bar

In my app I have 2 UIWebView's and 2 Adress Bar tat called WebView and WebView2, webAdress and webAdress2. I need to get url from WebView and put it to webAdress, and from WebView2 and put it to webAdress2. When I use this code, the URL updates…
nik1004
  • 327
  • 3
  • 11
0
votes
1 answer

NSRangeException while opening local .doc files on webview

I am trying to open a downloaded .doc file in UIWebview on iPad. Basically .doc file have unicode character in both file name & file content which i am trying to open . I got following error logs in console WebKit discarded an uncaught exception in…
Ritika
  • 593
  • 1
  • 8
  • 21
0
votes
1 answer

Is is possible to communicate between UINavigationController and web page loaded inside UIWebView?

I am new to iOS development. I will try my best to explain my question, please pardon me if you find it silly. I was wondering if one can load a subview in a UINavigationController by clicking a link inside a UIWebView. Explaining it further, let's…
Umair Khan Jadoon
  • 2,874
  • 11
  • 42
  • 63
0
votes
1 answer

UIWebView: How to tell when part of the HTML is visible?

Is there a callback offered by UIWebView that is called when scrolling occurs, and if so, how can I get the current content offset? Thanks.
user945620
0
votes
1 answer

UIWebView delegate 2 viewControllers

I've got 2 viewControllers: WebviewViewController and AnotherViewController. And here is mainWebView on WebviewViewController. I delegate mainWebView to WebviewController. And this works perfect: - (void)webViewDidFinishLoad:(UIWebView *)webView{ …
kaspartus
  • 1,365
  • 15
  • 33
0
votes
2 answers

UIWebView.hidden and JavaScript

I hide webview in webViewDidStartLoad: Make request Make stringByEvaluatingJavaScriptFromString in webViewDidFinishLoad: Show webview But when I run app, I can see how JS working. Where is my fault? Also, I write NSLog(@"%@", self.webView) before…
kaspartus
  • 1,365
  • 15
  • 33
0
votes
1 answer

Does the Facebook API for iOS leak?

When testing a demo app in Instruments using the leaks tool, I get GeneralBlock-XXXX that can be 56 or 2048. This happens after selecting the Publish button. (which actually calls [Facebook dialog:@"feed"];) Can anyone confirm this? Does this have…
Joshua
  • 1,974
  • 2
  • 23
  • 39
0
votes
1 answer

Crash With WebView in iPhone

I get following crash when I open a URL consecutively for 3 to 4 times in my app inside a webView. Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: EXC_ARM_DA_ALIGN at 0x0062006f Crashed Thread: 0 Thread 0 Crashed: 0 libSystem.B.dylib …
Parth Bhatt
  • 19,381
  • 28
  • 133
  • 216
0
votes
2 answers

Calling methods on a certain UIViewController while another viewController is on the screen?

I have a regular app with a bunch of view controllers - let's say viewControllerA, viewControllerB, and viewControllerWeb. "viewControllerWeb" is a UIWebViewDelegate and just has a UIWebView in it. I would like to call methods on it even when I am…
Tilo Mitra
  • 2,805
  • 1
  • 26
  • 20
0
votes
1 answer

How do I know which plugin is using UIWebView?

When I execute grep -R UIWebView * in this directory: Users/anonymous/Library/Developer/Xcode/Archives/2021-04-16/app name 4-16-21, 3.42 PM.xcarchive I get the following results: Binary file Products/Applications/app name.app/App Name…
D.Hodges
  • 1,794
  • 4
  • 24
  • 47
0
votes
3 answers

iOS different output whether running in simulator or on device

I yet again have a super weird problem. I get different outputs whether I'm running the application on the simulator or on the iPhone. See these console logs: iPhone First run, first career cell clicked 2011-06-23 14:47:28.974 Acando[2033:307] 1 -…
Peter Warbo
  • 11,136
  • 14
  • 98
  • 193