uiwebview

Looking for the better way to make a kind of PDF reader w/ iOS 3+

Hi, I'm trying to make an iPhone application which can read PDFs in full screen and follow links on PDFs, but I can't find the right way to do it. First, I tried to use an UIWebView to read the PDF file, but it doesn't work exactly as I wanted (I was'nt able to fix the link problem). The second solution was to use the Quartz API to re...

uiwebview doesnt load external javascript file

I have the following innocent looking code (index.html), but it doesnt load the code.js file. It works well if I copy / paste the contents of the file in the html page. Both index.html and code.js files are in the same directory. This is the code snippet. Any help would be great. index.html : <html> <head> <script type="text/javascrip...

UIWebView, SSL and export compliance

I have an application currently in the store which at one point involves displaying a modal UIWebView. The webview displays a specific webpage on which the user logs in, makes some selections, and then once they are finished the webview is dismissed. The login webpage is located at a https location. I have read in a few places that usin...

UIWebView and VGA support

Hi guys, I am outputting a UIWebView on an external screen using the VGA connector and am able to display web pages. The problem arises when a video is embedded in the page. What happens is that the video is shown as fullscreen on the external screen, and completely hides the web page. It doesn't seem to be able to play inline... The...

how to increase size of text in web view

i have a web view and i want to increase size of text in it when i press button ... ...

How to customize UIWebView tap-hold-on-link sheet

Hi, I was wondering how I can override the UIActionSheet that appears when tapping and holding your finger on a link in an UIWebView (it shows the link and an open and copy button). I need to add a button to the alert, but I don't know how to customize it. Does anyone have an idea on how to solve this? ...

UIWebView - adding an object to the address

I have a UIWebView that I'd like to load a web page and also append an object to the end of the address. this is what I have: NSString *urlAddress = @"http://www.wikipedia.org/%@",recipeName; the name of a particular recipe would be appended to the end of the URL I'm getting the "statically allocated instance of Objective-C class N...

UIWebView - NSStringWithFormat problem

I'm trying to get a UIWebView working with the following code: NSString *urlAddress = [NSString stringWithFormat: @"http://www.wikipedia.org/wiki/%@",recipe.name]; recipe.name is the entity and property from the core data model I used NSLog to test the 'recipe.name' and it is outputting correctly to the console I tried this ...

How to make an html body transparent for UIWebView

Hii....i am new to iPhone programming..Can anybody help me out please i have an html which is generated by eXe tool.I need to show it on an UIImageView. so the html has to be transparent then the image looks like backround. is it possible to make that html as transparent..? Thank u ...

Using UIWebView to create hyperlinks in UITableView Footer

Hey friends, I am trying to create a UIWebView in UITableView footer. The table is grouped. Actually I am trying to create a hyperlink using UIWebView. For example there should be some text like Hey folks Contact me Contact me should be a hyperlink and I want to place this text in UITableView footer. I am unable to figure out how to...

Animate the resizing of a UIWebView

Hi everyone. I'm having a really hard time trying to animate the resizing of a UIWebView, and just don't know where else to go. Here's what I want to accomplish: I have two views, one above the other (imagine two squares, one on the top of the other). The top view is a UIWebView, and the bottom one will be referred to as a general UIVi...

Problem with UIWebView

Hi, I am trying to launch an external safari when I click on a hyperlink in UIWebView but in my case nothing happens. If I try to include target as blank and skip the UIWebView delegate method it launches the safari within the same view..please guide me friends how to open an external browser when tapped on a link in UIWebView..here is ...

UIWebView rotation on iPad

On the iPad, I present a view in the "detail" side of a split view controller that is basically just a UIWebView, which loads an HTML file in the application bundle. The application supports rotation and hides/shows the "master" side of the split as appropriate. When the UIWebView is initially loaded in landscape mode, its content seems...

iPhone apps development flexible UI

I have to make an iPhone app for a company which has a web based system, and wants to go mobile. Its known in advance that the UI of the screen will change fairly often (adding new labels, buttons, etc). Also, many elements on the screen have an If(condition) then (visible) else (hidden) type situation. For instance, if(user.isMember) th...

Strange UIWebView Behavior - UIWebView refuses to stop

Hi, my UIWebView is behaving strangely. For example, if I go from http://google.co.uk to http://ftd.de (a news site), it will start looping with errors. It doesn't care if I press stop or not, it just continues. The log outputs the following and loops the message: 2010-09-03 16:16:55.061 Test [1336:207] http://www.ftd.de/ 2010-09-03 1...

How would I create back, forward, and refresh buttons for a UIWebView programmatically?

I currently have a webview created but I do not want to use interface builder to create the back, forward, and refresh buttons. How would I create these buttons programmatically? I know how to create regular buttons with code, but as for webView delegate buttons, I am lost and have not been able to find many resources on it. ...

Integrating Google Checkout in iOS App

Am I correct in assuming using a UIWebView is the only/best way to integrate Google Checkout into an iOS App? A fully native solution would be the best fit as I only require the user to purchase a limited number of items that will never change. Does any one know of existing Apps that have successfully integrated Google Checkout? ...

Save an XML file via UIWebView

I have an XML file on a remote server. The user must log in to access this file. Is there away to download the xml page after the user logs into a UIWebview? Then have NSXMLParser parse the downloaded page? NSURL *pathURL = [NSURL URLWithString:@"http://se7ensins.com/forums/xml.php"]; NSXMLParser *parser = [[NSXMLParser alloc] initWithC...

Image cannot be zoomed in out when loaded into UIWebView

Hi, I have an image encoded in BASE64 which I retrieve from a server and than load into a UIWebView with : [webViewer loadData:[NSData decodeBase64ForString:imageData] MIMEType:@"image" textEncodingName:@"ASCII" baseURL:nil]; The image loads fine but when the image is bigger than my webviewer, the user cannot zoom in and out by pinch...

UIWebView is crashing at the end of loading a page that contains embedded YouTube clips in iOS 4.0x

When I load a page that contains embedded YouTube clips in a UIWebView managed by a modal UIViewController then I crash out with this stack trace: OS Version: iPhone OS 4.0.2 (8A400) Report Version: 104 Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x00000000 Crashed Thread: 0 Thread 0 Cr...