Tag: uiwebview

ios8 iPad uiwebview crashes while displaying popover when user taps drop down list HTML select tag

On ios8 and iPad if a uiwebview is displaying a HTML page containing a drop down list eg this page http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_select then repeatedly tap on the HTML drop down list that contain lists of cars . first item is Volvo. tap every 1/2 second or so that uipopover opens and closes app will crash: Terminating […]

how to increase font size in UIWebView

how to increase or decrease the UIWebview font size, not using scalePageToFit:NO;

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 my script and viceversa? This is an example, but I don’t understand it very well.

HTML Content fit in UIWebview without zooming out

I am making use of the UIWebView to render some HTML. However, although the width of my webview is 320 my HTML is still shown full width and can be scrolled horizontally. I want to achieve the same thing the native mail application achieves which is it fits all content within that width without zooming […]

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> Native application URL string: tel:1-408-555-5555 However, upon completion of a phone call initiated from an HTML link inside a UIWebView, I am redirected right back to my application. But upon completion […]

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 had loaded? I’ve looked at the following possible solutions, but none of them worked for me: http://www.iphonedevsdk.com/forum/iphone-sdk-development/996-turn-off-scrolling-bounces-uiwebview.html http://forums.macrumors.com/showthread.php?t=619534 How […]

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?

How to load local html file into UIWebView

I’m trying to load a html file into my UIWebView but it won’t work. Here’s the stage: I have a folder called html_files in my project. Then I created a webView in interface builder and assigned an outlet to it in the viewController. This is the code I’m using to append the html file: -(void)viewDidLoad […]

Static cells in UITableViewController opening different URL on the same nib

I am quite new to UITableViewController, I would like to make a static cells UITableViewController and each static cells open up the same nib file but the URL of the UIWebView will be different. e.g. row 1 will open google.com and row 2 in yahoo.com. May I know how can i do that? Thanks

Trying to push to detail view with Xcode 4.2 iOS 5 from UIWebView

I have a ViewController embedded in a NavigationController. The ViewController has a UIWebView that I’m trying to capture links from. I’m able to intercept the links, but when I try to push the link content to a detail page, it seems to be firing a new Controller but it’s invisible. If I click a link […]