uiwebview

UIWebView in custom UITableViewCell

i am not sure if this is a good route to go,...i have some data i receive from the web which in turn, populates a table view. The problem is, the text is html (p tags, etc). My first thought was to create a uiwebview in the cell, and populate with loadHTMLString. Fact is , it KINDA works. But, i then the cell no longer was the recipient ...

Reliably opening App Store links from a UIWebView

Hey guys, I have an app that will display web pages within a UIWebView. The pages it shows may contain links to other iPhone apps on the App Store. In a normal browser on a desktop computer, clicking these App Store links would take me through a number of URL redirects and eventually end up opening iTunes and taking me to the page for ...

iphone - how to mentain the state of UIWebView ?

Hi, i am having a UIWebView showing and HTML page that has some checkboxes, radio buttons. My Application has tabbar controller that switches b/w two controllers. How i can maintain the current state of UIWebView. ( e.g. i have selected a checkbox and i change the tab and go to other ViewController and again come back to UIWebView. the W...

Frame load interrupted error while loading a word document in UIWebView

I want to load a word document using UIWebView. I used the code provided in http://developer.apple.com/iphone/library/qa/qa2008/qa1630.html to load the document. But not all the documents load successfully. Sometimes I get an error Error Domain=WebKitErrorDomain Code=102 UserInfo=0x145bc10 "Frame load interrupted" The error seems to ...

How to increment a selected table row on iPhone

Okay, I am about getting completely nuts here... :-( I've been trying for weeks now but to no avail. So if someone was able to help me with the following, that would be great! So here is what I'm trying to do. My app is basically a rss reader. The topics of the rss entries are displayed in a table view. Tapping on an entry opens a web v...

UIWebView display locally stored website (HTML, images, Javascript)

I've looked EVERYWHERE for this, can't find anything. I basically need to store an entire website inside of my iPhone for some interesting reasons. Regardless I can't figure out how to display it correctly in my UIWebView. EDIT: I should clarify, I can load the original HTML file, and I have chagned all of the pathing to be local, excep...

Formatting multi-line text on the iPhone

Hey guys, I need to display some text on multiple views loaded on a UIScrollView. It should be centered both vertically and horizontally. I did accomplish this with no problems using a UITextView, but now I need to perform a little bit of formatting in the middle of the text - some color changing and italics. My first try was to use a...

UIWebView in a UITableViewCell - content not caching

Hello, I am displaying some HTML in table cells, but when I scroll through the table, the contents of each cell re-renders as it appears on screen. The effect is blank cells as they scroll into view, and then the content appears after a lag. Here's the pertinent code: - (UITableViewCell *)tableView:(UITableView *)tableView cellForRow...

UIWebView auto Rotation problem

I am reading a html file in the UIWebView. When i rotate the phone in the landscape mode the UIWebView doest fit to the screen it is still 320 in width. And if i try to resize it.It shifts the content of the webView and the offset goes wrong.How to solve this problem ????? I want the webview to be full screen with the same content as in ...

EXC_BAD_ACCESS in UIWebView

I just downloaded the crash reports for one of my iPhone apps from iTunes Connect. The most common crash has a trace like the following: Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0xa1b1c1db Crashed Thread: 0 Thread 0 Crashed: 0 libobjc.A.dylib 0x3030e6f4 objc_msgSend + 16 1 ...

UIWebView: Error while loading URL

Hello, I am trying to build an RSS reader for the Tom's Hardware website. I have an error when I try to load an URL into an UIWebview from an RSS link. Here'is my code: - (void)viewDidLoad { [super viewDidLoad]; if (self.url != nil) { NSURL *requestUrl = [NSURL URLWithString:self.url]; NSURLRequest *requestObj = [NSURLRequest...

Remove html tags from UIWebView

Hi, I am developing an application for iphone which needs to load some description to a UIWebView. But text that loads into the UIWebView shows some html tags like <p></p>.Is there any way to remove these type of tags? Thanks in advance ...

UIWebView error codes

Now I'm developing UIWebView based iPhone app. It is important to be sure that all requests are executing properly. To handle possible errors I'n using webView:didFailLoadWithError: message from UIWebViewDelegate protocol. Where I can find the list of the error codes this control may return? ...

window.scrollto javascript call to uiwebview misbehaving

i have several uiwebviews with a considerable amount of text. when making a window.scrollto (as well as a window.scroll) javascript call to the webviews, they scroll to an incorrect location. e.g. i want to scroll to 12000 but the webview will scroll to 10149 every time instead. while another one will scroll to 10250. yet another one, wh...

is it possible to open the safari browser from my application instead of using a UIWebview component

Does anyone know if it's possible to open the safari browser with a static link , instead of using a UIWebview component. If so how can i realize this. ...

Html5 cache manifest in a UIWebView?

I'd like to be able to use the html5 cache manifest to store images locally on an iPhone that is visiting the page via a UIWebView within an app. I've set up a sample that I think conforms to the specs, and appears to work in safari 4 and mobile safari, but not in my app's UIWebView. The sample html is set up at http://bynomial.com/htm...

How do I auto detect a hyperlink while editing?

Can you auto detect a hyperlink in HTML,JavaScript or Objective C? ...

Continous integration for iphone xcode

Hi, I would like to implement continous integration on an iphone. I've read that I can use HUDSON, and would like an opinion if this this the best option. http://stackoverflow.com/questions/212999/continuous-integration-for-xcode-projects The cruise control option also looks interesting. http://blog.jeffreyfredrick.com/2008/11/27/con...

UIWebView example code for in-app browser?

Anyone have some sample code for an in-app browser that they would like to share? I am looking to add a browser view in my app that is pushed and includes a toolbar with four buttons: back, forward, stop/refresh and actions. However, I'd like to show somewhat transparent and none-tapable buttons when you can't go forward or back, and al...

Can't change background for UIWebView in iPhone SDK

Hi, Is there a way to change background color for UIWebView? None of the colors set in IB effect UIWebView behavior: before acctual content is loaded it shows as up as white (causing a white flash between the moment it is loaded and content is rendered). Setting background color programmatically does not do anything either. Here is cod...