24
votes
4answers
5k views
Return to app behavior after phone call different in native code than UIWebView
According to Apple's documentation, in order to make phone call from my app, I need to implement the following protocols:
HTML link:
<a href="tel:1-408-555-5555">1-408-555-5555</a>
...
128
votes
19answers
56k views
Stop UIWebView from “bouncing” vertically?
Does anyone know how to stop a UIWebView from bouncing vertically? I mean when a user touches their iphone screen, drags their finger downwards, and the webview shows a blank spot above the web page I ...
14
votes
2answers
7k views
Javascript in UIWebView callback to C/Objective-C
Is there a way to get a callback to objective-c when a certain event has been detected in a UIWebView? Can Javascript send a callback to Objective-C?
12
votes
6answers
10k views
UIWebView - How to identify the “last” webViewDidFinishLoad message?
The webViewDidFinishLoad message seems to be sent each time any object in the page has been loaded. Is there a way to determine that all loading of content is done?
15
votes
2answers
9k views
UIWebView iOS5 changing user-agent
How can I change the user-agent of UIWebView in iOS 5?
What I have done so far:
Using the delegate call back, intercept the NSURLRequest, create a new url request and set it's user-agent as whatever ...
11
votes
1answer
6k views
NSString in UIWebview
I have an NSString and a webView in my project (Objective-C for iPhone), I have called index.html in webView and inside it I inserted my script (javascript).
How can I pass the NSString as a var in ...
12
votes
2answers
16k views
iOS: Is it possible to set a cookie manually using sharedHTTPCookieStorage for a UIWebView?
I have webviews inside of an iOS application that require an authentication cookie to be properly authenticated. I'm looking for a way to set a cookie inside of an iOS application's webview without ...
5
votes
4answers
10k views
Opening popup links in UIWebView, possible?
I have a UIWebView which I'm using as an embedded browser within my app.
I've noticed that links in webpages that open new windows are ignored without any call into my code.
I've tried breakpointing ...
14
votes
4answers
17k views
how to increase font size in UIWebView
how to increase or decrease the UIWebview font size, not using scalePageToFit:NO;
4
votes
3answers
2k views
Convert UIWebview contents to a UIImage when the webview is larger than the screen
Very similar to this question (and also this answer), I'm trying to make an UIImage out from a webview. So far I'm using the code suggested in the answer, specifically:
...
11
votes
6answers
14k views
UIWebView dones't resize correctly when orientation change?
I have add a webview,a titleLabel and a coverflowView on a viewcontroller's view as its subviews, I want it to change size when the orientation change. I have change the webview's frame in this ...
4
votes
5answers
8k views
UIWebView display locally stored website (HTML, images, Javascript)
I've looked EVERYWHERE for this, can't find anything. I basically need to store an entire website inside of my iPhone for some interesting reasons. Regardless I can't figure out how to display it ...
44
votes
5answers
27k views
How can I enable zoom in on UIWebView which inside the UIScrollView?
I have a UIWebView which inside a UIScrollView (scrollview contain another component)
I tried to enable multitouch both on Interface Builder or Programmatic on UIWebView but it still cannot zoom for ...
18
votes
6answers
11k views
UIWebView didFinishLoading fires multiple times
I have some code that needs to run after the a UIWebView finishes loading a document. For that I've set the UIWebView's delegate to my controller, and implemented the webViewDidFinishLoading method.
...
3
votes
2answers
3k views
How to invoke Objective C method from Javascript and send back data to Javascript in iOS?
In iOS, how can I call an Objective-C method from Javascript in a UIWebView and have it send data back to the Javascript? I know that this could be done on OS X using the Webkit library, but is this ...