uiwebview

iPhone - How to preload a local file in a UIWebView?

Is it possible to preload content of a local file with embedded images for a UIWebView? This is how I'm loading the data inside the UIWebView: NSString *urlString = [[NSBundle mainBundle] pathForResource:@"info" ofType:@"html"]; NSString *htmlContent = [NSString stringWithContentsOfFile:urlString encoding:NSUTF8StringEncoding error:ni...

iPhone - How to dissmiss Quicktime from UIWebView?

Is there any way to dissmiss / access the QT player loaded inside of an UIWebView? ...

Displaying a background image on UIWebView

Hi, I'm trying to build a native application that for all intents and purposes is HTML/CSS and Javascript. It all works fine, but when the UIWebView loads there's a delay while the DOM is populated, images retrieved etc. Is there anyway to display a background image on the UIWebView, or something behind it? Ideally this will be the s...

Which View Class should I use to ?

I has been visiting your Blog regularly, and learned a lot from it. Now I'm troubled in a project. I hope you can give me some suggestion. I want to make a interface of the news APP, which can shows the news title, content and pictures. The picture in the default condition will zoom out and appear with the news title and content in the...

UIWebView load content On demand

Hi, I have huge amount of data which load on UIWebView. So there has some issues 1. It's take lot of time on loading 2. On iPhone-OS3 it shows little chunk but In iPhone-OS4 it doesn't 3. On orientation it takes much time. So any suggestion? how can I load content On Demand Need? ...

How to reset UIWebView's zoom? I'm already using scalesPagesToFit = YES;

Hi guys, I've been looking for the past week for the answer to this question. I have a UIWebView, inside of a UIScrollView. Everything works great, but I want the content of the UIWebView to reset its zoom, when the orientation changes. In the HTML inside the UIWebView, I set the width of the viewport (w/ a meta tag) to "device-width"...

UIWebView Safety / Privacy

Does UIWebView pass on referral information? If a user clicks a link to my server and my server immediately redirects the request to a second server. Will the second server see the referral page? What's the default behavior? If that information is pass to the second server, how can I prevent that? ...

Using UIDocumentInteractionController to display presentPreviewAnimated: via UIWebView

I'd like to intercept the clicks from any of the supported file types of the UIDocumentInteractionController and display them in a modal view (provided by presentPreviewAnimated: method of UIDocumentInteractionController). This modal view also provides the "Open In..." functionality to open any of these documents in other compatible app...

Obtaining file type from Google URLs via search, docs or Gmail with iOS 3 or 4

I'd like to use the UIDocumentInteractionController (iOS 3.2 or higher) to display linked online files in a modal view with the option to open in external apps on the device. I've figured out the coding to make this happen, but I'm being stymied by Google's links that do not disclose the direct file URL or file type, thus making it impo...

How to pass single touch events to super view in UIWebView?

Hi, I am using UIWebView to display pdf. I wanna handle touch events on webview. There are two conditions, my WebView should handle double touch events and gestures, and i wanna pass single tap/touch events to super view. Can any one please tell me how to differentiate the touch events in UIWebView and how to pass specific touch events...

Does UIWebView has problems with .aspx-requests and link- / phonenumber-detection?

I've encountered a strange problem, when it comes to displaying a page in a UIWebView on iPhone SDK 4.0. I load a page with a .aspx-request and receive completely valid html-sourcecode. Inside the html is an email-address linked like this: <a href="mailto:[email protected]">[email protected]</a><br /> When I activate the link-detection in the...

extract parameter from UIWebView NSURLRequest

I have an url " http://www.website.com/?id=123&amp;val1=abc&amp;val2=x " I would like to get the value for the parameters such as "id" and "val2" how do I do that? ...

Ipad Error: 'Program received signal EXC_BAD_ACCESS'

I am getting this error when I deploy to my iPad. It does not occur in the simulator. My ipad app has three UIWebViews. The majority of this application is written completely as a web app, and uses CSS to make it look more native. Links that are clicked in the various web views will open in a certain one depending on the value of the re...

Annotation in UIWebview in iphone sdk

Hello all, I need help for, scribbling on the webpage i.e where ever the user moves on the uiwebview there it should draw a line according to the touch moves. Is this possible. Can any one please help me in this. Thanks, Mrudula. ...

How to add subview to a webview so that the subview would scroll along with webview?

I have webview. Now I want to add a subview to it. I added it using addsubview method. The view got added, but did not scrolled with webview. I want my subview to be scrolled with the webview. How can I do that? Regards, Akshay. ...

UIWebView does not persist authentication on iOS3.2/iOS4

I made an application that uses UIWebView to display a site that uses basic authentication. It stopped displaying the content since iOS3.2 (on both iPhone and iPad). My approach for authenticating users are: create a NSURLConnection implement didReceiveAuthenticationChallenge to provide the credential implement didReceiveResponse to r...

Plug-in handled load UIWebview

Hi, I am developing an iPad application that plays videos from Internet Video Archive (IVA). I can play the IVA URL in iPad-Safari. But, I am able to get it streamed in my app. I am doing the following things to play the video: Add an outlet to webview in the nib. I have written the following code in my play method: NSString *myU...

Odd behaviour of UIButton in an UINavigationBar when switching to landscape Mode and back

Hi, my problem seems to be difficult to describe. But anyways I´ll give it a try ;) OK, we have an HomeScreen in our universalapp as the first View (TTLauncherView from Three20). here we have a Banner at the bottom which will be later a place for adds by a local sponsor. This Banner is actually an UIButton which a ModalViewTransition. I...

Problem opening a page in different UIWebViews using Javascript

I have an ipad app, with the majority of the functionality being a web application. The UI is just three UIWebViews that load the pages. Every link that is clicked is intercepted, and I have a request variable in the URL called "iPadTarget." EX: http://www.somedomain.com/blah.asp?iPadTarget=2 The above code would open in the second we...

Implementing CATiledLayer on a UIWebView for fast scrolling

I have a big webview in my iPad app and scrolling performance seems to be a big issue, especially the first time you browse the webview. In mobile Safari, the scrolling is extremely smooth and the page simply appears as a transparent checkerboard pattern and loads in as it comes into view. From what I've read, the way to handle this is u...