uiwebview

open iBooks from my app

I am have some PDFs in my app. I want to provide an option to open those in other third party e-readers that might be installed on the device, like Stanza and iBooks. Dropbox application has successfully implemented this feature and I can't find any information on how to detect what other e-readers are available on the device or what t...

Is there a method somewhere supplied by Apple which will trigger when a UIWebView changes pages?

I am trying to change the size of a webView when the website changes. What I need is to check the UIWebview's URL to see if it matches the one I am looking for. Or just changes at all. ...

Programmatically display iPhone/iPad UDID

I have an iPad app in which I get the device's UDID by the following code in the viewDidLoad method. uid = [[UIDevice currentDevice] uniqueIdentifier]; uid = [uid stringByReplacingOccurrencesOfString:@"-" withString:@""]; I wanted to remove the dashes in the string. Later, in another method call, I try to access this uid string (whic...

Getting the height of HTML Content.

Hello all, I am loading an html file in to an UIWebView. Now I want to know that is there any way I can get height of the contents being load in the UIWebView? Thanks in advance ...

PDF parsing for an eBook app

Looking for some help on the pros and cons of using UIWebView vs. CGPDF for the purpose of creating an eBook reader app. The content would be in the form of PDF, thus Iam trying to figure out which of the two API's - UIWebView or CGPDF would work the best. Targeting features like - zoom, table of contents, notes and annotations, search....

Getting the position of an HTML element in UIWebView

Hello all, I have UIWebView loaded with an HTML file. I want to know the position (means x and y cordinates) of an HTML element on the screen when the webview is loaded. Thanks in advance ...

Scrollview+Webview Touch event

hi i have a scroll view and on that number of webview no i want to know how i get touch event of webview ...

How to create the mobile safari search bar scroll effect?

Hi Friends, Can some one say how I can bring the Safari Search bar Scroll effect. I guess the Search bars must be placed as the subview of UIWebViews. When I tried doing it, no controls are accepted by Web view as its subview. Please some one help. ...

Side Scrolling a PDF in UIWebView

Is there a way to get a PDF that has been loaded into a UIWebView to scroll horizontally instead of vertically? ...

call methods from web page

I am using UIWebView in my application. I would like to have some hyperlinks to call methods in the Objective-C app. Is it possible? How? ...

How to get requesting UIWebView from inside of NSURLProtocol

My app uses subclassing of NSURLProtocol. There are several UIWebViews in the app and for specific algorithm implemented in NSURLProtocol I need to know which one of the UIWebViews sends the request. My understanding is that object returned by [self client] should be somewhat connected with requesting object. But neither NSURLProtocolCl...

Problem with Font in iPad application

Hello, In a UIWebView of my iPad application, I display a HTML file with a Cambria font (the font type is set in a css file). This font is not supposed to work on iPad but the font that appeared seemed nice to me. Now I'm trying to use the same font in the rest of my application and I discovered that Cambria font is not available on iP...

Facebook in iPad: UIWebView - renders as touch instead of standard web

Up until a few days ago it worked fine: opening facebook.com in iPad/UIWebView rendered as standard web. Now Facebook is force-rendered as touch - as if the URL was http://touch.facebook.com. This happens regardless of the UIWebView frame size. Here is a simple code for the main view controller to see the problem: UIWebView *wv = [[UIWe...

What does a browser plug-in enable that can't be done natively in WebKit on the iPhone/iPad?

The google earth API looks awesome. Unfortunately you can't use it on the iPhone/iPad, because the UIWebView does not allow plug-in's. The functionality as rendered in maps.google.com - earth view is amazing. What is the technical reason for using a plug-in vs doing something with just AJAX/native? Is it a technical hurdle, or a busi...

Hide keyboard in UIWebView

Is there a way to make a UIWebView dismiss all associated input controls, such as keyboards/pickers? ...

App crashes after exiting Mail Composer

My app is crashing shortly after closing a MFMailComposeViewController. A UIWebDocumentView is releasing, which deallocates a ComposeBodyField object and it crashes on objc_msgSend. It only happens some of the time, and only on old devices. I'm assuming that something is being release/cleaned up before it's supposed to, so when the mes...

import pictures from the iphone photos storage to page body background within a uiwebview

I have a app that uses the uiwebview to display a web page from the resource bundle.I want the user to be able to choose a picture with the photo picker or camera and display it as the page body background.I suppose i will need some objective c interacting with some javascript in the page......Thanks in advance for any help.......Len K ...

playing stream video using UIWebView issue

Hi everyone. I'm currently developing an ipad application that will play video from wowza streamiong server. Plainly saying, I load video into UIWebView as follows: NSURL *videoURL = [NSURL URLWithString:@"http://fishki.tv:1935/vod/mp4:20100731194117.mp4/playlist.m3u8"]; NSURLRequest *requestObj = [NSURLRequest requestWithURL:videoURL...

How to implement zoom on doubleclick in webview in iphone?

Hello I have loaded a HTML page in a web-view.But on double click of the web-view its not zooming.I have also set the "scalesPageToFit" property to "YES" also ,but i am not able see the zoom effect in web-view. CGRect webFrame = CGRectMake(0, 0, 320, 480); webView = [[UIWebView alloc] initWithFrame:webFrame]; webView.backgroundColor ...

vertically moving javascript button or menu on uiwebview

hi, I am facing lots of problems in handling the touch event of the uiwebview for making my tabbar and navigation bar hides/unhide. I thought of putting a horizontally moving button or a small text on the uiwebview which will move along with the user scrolling. If the user touches the button which moves along with the user scroll i am ...