uiwebview

UIScrollView with embedded UIWebView not scrolling after holding

Hi, I have a UIWebView which is embedded in a UIScrollView. The webView is resized so that the scroll view manages all the scrolling (I need control over the scrolling). In the webView I have disabled userSelection via '-webkit-user-select: none;' Everything is working fine except one annoying detail. When I hold down my finger on the...

Using UIWebView links to call a function?

I'm using a UIWebView to display formatted text from local HTML. Is it possible to have specific links in the HTML call Obj-C functions? For example, clicking a link to have a new view appear? Or am I resigned to using Javascript? ...

how to do an adblock for UIWebview?

Although apple banned flash which disabled a lot of ad. I still like a adblock like functionality for browser. I noticed that adblock do so by checking all load request's url. Is that possible with UIWebview? Any suggestions are well come Thanks ...

Control for loading custom fonts

I have some text that I want to render and I thought that UIWebView would be the best control for it since I'd like to have have different font sizes and colors for portions of it. The text is stored locally and loaded into UIWebView which seems to take a long time for the initial load. What I don't want to do is have to programmatical...

Iphone/iPad local asp files?

I already know that you can load local html files in a UIWebView, but could you do the same thing with asp files? And could you use AJAX on the iPhone? ...

replacing linebreaks with <br> to use in UIWebView

I am pulling my data from sqlite and trying to show it in a UIWebView I have tried HTMLData = [container stringByReplacingOccurrencesOfString:@"\n" withString:@"<br />"]; HTMLData = [HTMLData stringByReplacingOccurrencesOfString:@"\r" withString:@"<br />"]; HTMLData = [HTMLData stringByReplacingOccurrencesOfString:@"\r\n" withSt...

Changing UIWebView default color to UIImage

Is it possible to place an image in the UIWebView background instead of that gray default color. If yes then how? ...

Why isn't CSS being applied within my UIWebView?

When I try to display a local HTML page un a UIWebView, the CSS for that page is not being applied. However, when I load that same page in the regular Safari, it is. What could be causing this? ...

ipad orientation problem with webview.

I'm creating ipad application. It has just 2 views. One view has few buttons. On click of a button it will open another view. This view has a webview which shows PDF file. I'm using the following code to show the PDF - (void)viewDidLoad { [super viewDidLoad]; NSString* path = [[NSBundle mainBundle] pathForResource:@"mypdf" ofType:@"pdf"...

Taking snap of UIWebView

How to take the snap of UIWebView? ...

how to change the UIWebView background

How to change the default gray background color of UIWebView to an image? ...

What types of files can the built in iPad Web Browser handle natively?

What types of files can the built in iPad UIWebView handle natively? It seems to handle PDF files and image files fine with loadRequest URL's, but it can't handle Excel spreadsheets. What is the complete list of files that it is capable of showing natively? ...

help with reading text body from a web page

Hi all ... when I use : NSString *myText = [webView stringByEvaluatingJavaScriptFromString:@"document.documentElement.innerText"]; NSLog(@"my text -> %@",myText); I get all the JavaScript for the webView but what i want is to save the body text only from the web page so can any body help me with some codes or any ideas thanks ...

How to load local HTML string in UIWebView nested in a customized UITableViewCell?

Hi guys, Is there anyway to achieve the above effect? I need to render HTML-table tags in UITableViewCells. And the UITableViewCells need to have variable height also. Have done a bit of research. Some say it will be very slow. But wonder if anyone can help out with this? ...

using web view in iphone

hey, this might sound silly but since i am new to iPhone i wanted to ask this question... :P Where is the UIWebView best used? I mean which type of application? Could i use that if i wanted to display a video in some part of the screen rather than fullscreen which MPmediaPlayer is really good at? Thanks :) ...

How to devide a UIWebView into multiple pages (like iBooks)

I am trying to build an application in which I need to divide the webpage into multiple pages. These pages will then be shown as the pages in a book, like the iBooks animation. First problem to tackle is to divide the webpage into multiple pages and able to view it separately. Any inputs will be helpful. ...

UIWebView Referencing Images/CSS from Documents to Resources

I know there are lots of other UIWebView local file related questions but I can't seem to find an answer to mine. I'm downloading an HTML document and a CSS document and both get saved in the Documents directory. I need to be able to load images from the Resources directory and the CSS from the Documents directory. So I've got differe...

raphaeljs and iPhone: not working when embedded in bundle?

I cannot get Raphaël working in a UIWebView. I load a simple HTML-Webpage with this content: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Page Title</title> <script src="js/lib/raphael-min.js" type="text/javascript" charset="utf-8"></script> <script type="text/javascript" charset="utf-8"> alert("" + Raphael)...

iWebkit, iPhone Zooming

Hi Guys, I am working on a mobile website built for the iPhone. The issue I am facing is related to zooming. I have a page that contains an iFrame on another page presenting an image. I set that main page to be scrollable, and it does scroll... Its not the prettiest thing, but it functions well. When I "Add Link To HomeScreen", the s...

Would using webview with phonegap get an app rejected from Apple App Store?

Would using webview with phonegap get an app rejected from Apple App Store? The app would not be all in webview, but will using webview for certain things make apple reject the app? ...