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?
Ccna final exam - java, php, javascript, ios, cshap all in one. This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Friday, June 8, 2012
UIWebView open links in Safari
Wednesday, May 30, 2012
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 had loaded?
Tuesday, May 1, 2012
How do I use a UIWebView in a Table Cell?
I'm building a table with some text that is HTML, so I am using a UIWebView as a subview of my custom table cells. I already ran into one problem - as I scrolled down in the table, it would take the UIWebViews a second to update. For example, I'd be viewing Cells at rows numbered 1, 2, and 3. I'd scroll down to say 8, 9, and 10. For a moment, the content of the UIWebView that was visible in cell #8 was the content from cell #1, the content in cell #9 was that from cell #2, and so on.
Friday, April 27, 2012
Remove UIWebView Shadow?
Does anyone know if its possible to remove the shadow that is placed on the UIWebView window?
Monday, April 16, 2012
How to determine the content size of a UIWebView?
I have a UIWebView with different (single page) content. I'd like to find out the CGSize of the content to resize my parent views appropriately. The obvious -sizeThatFits: unfortunately just returns the current frame size of the webView.
Tuesday, April 10, 2012
UIWebView - When (or how) does CFData get released?
after multiple days of banging my head against the wall and having sleepless nights I'm hoping to find some help here. I've gone through various posts here, but none of the answers seem to provide a resolution for me.
How to handle app URLs in a UIWebView?
I recently found that my UIWebView was choking on ITMS links. Specifically, from the UIWebView in my app, if I navigate to a site such as this one and click the "Available on the App Store" link, UIWebView would error out with "Error Domain=WebKitErrorDomain Code=101 The URL can't be shown."
Thursday, March 8, 2012
Force a WebView link to launch Safari?
I have a UIWebView embedded within an iPhone app of mine. I want to be able to have certain links within that webview open into the full Mobile Safari app (i.e. not my embedded version of it).
Thursday, March 1, 2012
Open MWPhotoBrowser with a link and loop
I'm fairly new at iOS development so please forgive my ignorance.
Loading NSData into a UIWebView
In my web browser, I am trying to load a UIWebView with NSData obtained from an NSURLConnection. When I try to load it into the UIWebView, instead of the site, it comes up with the HTML plain text.
Monday, February 27, 2012
iOS WebView > Display only main-content from a website including pictures
How do I fetch just the main-content part of a webpage and display it in an UIWEBVIEW? Link to the page
Saturday, February 25, 2012
Create a proxy within the iOS app
I have an app with an UIWebView (which is connected with a website); the user will navigate into the website. After that, I want that when the user open the app and there is no connection, the already visited pages will be accessible.
Tuesday, February 21, 2012
How should I add a link at the bottom of the View in iPhone
I have a table view with 4 rows and at the bottom of the table view footer for the table I need to display an URL link. It should open the corresponding web page.
Input HTML code in UIWebview
I have a header string, footer string and body of the HTML page. I need to programmatically include some text in the body and then I need to input all this data in a UIWebView to load the page. I need to input the final HTML string into a UIWebView controler, so that it will launch the page I designed. Could someone please share your ideas how can I achieve this?
Wednesday, February 8, 2012
include statement in iphone html file
Is this possible? Basically, I have HTML file A, which I want to include in HTML files B, C, D, and E. All of them will be displayed within my iOS app. No internet involved -- everything will be on the device.