A class used to display web content from within an iOS application.
127
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 ...
109
votes
3answers
31k views
UIWebView open links in Safari
I have a very simple UIWebView with content from my application bundle. I would like any links in the web view to open in Safari instead of in the web view. Is this possible?
76
votes
6answers
41k views
Using HTML and Local Images Within UIWebView
I have a UIWebView in my app which I want to use to display an image which will link to another url.
I'm using
<img src="image.jpg" /> to load the image.
The problem is that the image ...
66
votes
1answer
10k views
How to Get the Title of a HTML Page Displayed in UIWebView?
I need to extract the contents of the title tag from an HTML page displayed in a UIWebView. What is the most robust means of doing so?
I know I can do:
- (void)webViewDidFinishLoad:(UIWebView ...
56
votes
3answers
18k views
How to make a transparent UIWebVIew
I have an app with a UITableView and a corresponding detail view for each row. In the detail view I have to display some text and a background image (text is different for each row, but the image ...
51
votes
5answers
57k views
Reading HTML content from a UIWebView
Is it possible to the raw HTML content of a web page that has been loaded into a UIWebView?
If not, is there another way to pull raw HTML content from a web page in the iPhone SDK (such as an ...
44
votes
5answers
26k 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 ...
44
votes
6answers
11k views
Asp.Net Forms Authentication when using iPhone UIWebView
I am writing a Asp.net MVC 2 application that uses Forms Authentication and currently I am having a problem with our iPhone application in regards to the authentication/login over the web. We have ...
43
votes
6answers
23k views
Can't change background for UIWebView in iPhone SDK
Is there a way to change background color for UIWebView?
None of the colors set in IB effect UIWebView behavior: before actual content is loaded it shows as up as white (causing a white flash between ...
42
votes
8answers
33k views
iPhone UIWebview: How to force a numeric keyboard? Is it possible?
I'm experimenting with PhoneGap to develop some iPhone apps. PhoneGap basically wraps a UIWebView - it works well. The problem is the my app has several input fields that only take numeric input. I ...
36
votes
6answers
18k views
Disabling user selection in UIWebView
I have an app where I load content to a UIWebView and present this. I cannot disable user interaction completely because I want the user to be able to click links. I just need to disable user ...
34
votes
3answers
16k views
UIWebView background is set to Clear Color, but it is not transparent
I'm developing an iOS 4 application using iOS SDK latest version and XCode 4.2.
I have a XIB with a UIWebView with Alpha = 1.0, Background set to Clear Color and Opaque is not set. On this XIB I ...
32
votes
7answers
32k views
how to load local html file into uiwebview iphone
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 ...
30
votes
6answers
33k views
How to determine UIWebView height based on content, within a variable height UITableView?
I am trying to create a UITableView with variable height rows as explained in the answer to this question
My problem is each cell contains a UIWebView with different (statically loaded) content I ...
29
votes
7answers
8k views
Remove gradient background from UIWebView?
How do remove the gradient from a UIWebView - the one that you see if you overscroll the top or bottom.
This code
webView.backgroundColor = [UIColor whiteColor];
just changes the color of the ...