uiwebview

UIWebView not responsive

Hi, I'm having trouble intercepting URL clicks within a UIWebView. I've read around and found the most common problem is that links have a target="_blank" attribute to open in a new window, but mine have no such attribute. URLs are of the form "/word", where word is some arbitrary word. I'm also encoding them with %20 when necessary. My...

Display Rich Text Using a UIWebView

My questions is what is the best way to create a Frequently Asked Question tab (section) of my App. I'm using a table view where the data is pulled from a .plist file. The table view has a three level drill down to a detail view where I want the actual answer from a FAQ. Now this is no problem using UITextView. However I need to enable v...

Detecting Download in UIWebView

I have a programatically crated UIWebView, and it is used to browse a iPhone-style site stored on my server. In this website, there are a few links to files users can download into my application. Right now, I'm trying to detect this with: - (BOOL) webView:(UIWebView *) webView shouldStartLoadWithRequest:(NSURLRequest *) request navigat...

How to open a UITextView URL in UI Web View?

Hi there, In my iPhone app an UITextView is containing an URL. I want to open this URL in an UIWebView instead of opening it into safari? My UITextView contains some data along with an URL. In some cases the no. of URLs can be more than one. Thanks Sandy ...

Can I handle alert inside UIWebViewDelegate?

<script language="javascript"> alert("Hell! UIWebView!"); </script> I can see the alert message inside my UIWebView but can I handle this situation? Update: I'm loading a web-page into my UIWebView: - (void)login { NSString *requestText = [[NSString alloc] initWithFormat: @"%@?user=%@&password=%@", DEFAULT_URL, user.name, us...

Draw a border around mkmapview,scrollview and webview .

Hello all . I am developing an iPhone application in which I have a page in which I am using scrollview mkmapview and webview all at once in the control of a segmented control. I am doing it confortablly . My question is that I want to show border or frame outside this frames. How can I do so ? ...

Show Content with UIWebView on the Iphone

Helllo, i would like to show Content in the UIWebView, which i have added to the Project. for example an image. I know how to set a text in the UIWebView, but i would like to add images or a video which i have added to the project best regards, ...

Has anyone found that UIWebView fails for some URLS?

I have been working on an iPhone App for a couple of weeks now and one of the earlier features I added was a UIWebView that loaded context sensitive Wikipedia page topics. This was pretty trivial to implement and has been working fine for some time. Today, I found that functionality had unexpectedly stopped working. I had been fiddli...

iPhone UIWebView Bug

Hi all, I am getting this error message in the console, while i am trying to load a html page in UIWebView ? "void SendDelegateMessage(NSInvocation*): delegate failed to return after waiting 10 seconds. main run loop mode: UITrackingRunLoopMode If you were not using the touch screen for this entire interval (which can prolong this wait...

how to show google maps using uiwebview with zooming in uiwebview?

as we all know that driving direction is not supported in mapkit.so i think i can show driving direction in webview.i am showing google maps in uiwebview,but it shows the whole site i just want to show only map part with some zoom so that it looks like original maps application of iphone.also i don't know if this breaks the apple's Human...

Is it possible to convert html (uiwebview) on the iphone into pdfs, or pngs?

I'd like to be able to download a web page and then save it as a pdf, or png (or save it locally with all the html, image and css etc files). This is so the page can be viewed without an internet connection. Is there a standard way to do this? ...

Youtube App on iPhone ignoring private videos

Hello there. I seem to have noticed an odd bug in the YouTube App with the iPhone. I have written a small program that fires off the YouTube app with a url like: http://www.youtube.com/watch?v=adsakasjda This video is a private video held on youtube. When the Youtube player launches I receive the message "YouTube not available". HOWEV...

When loading a web page in UIWebView in iphone, the click does not work.

I use and UIWebView in my application to load www.google.com. After the page is loaded, I am not able to click on any of the links. Basically the links dont work. Am I missing something ? ...

Read JSON content from UIWebView

I'm using a UIWebView to display a captcha. If the user enters the captcha correctly, then the server returns data using JSON serialization. I don't want the view to display this, instead I want to intercept the loads of the UIWebView, and if it returns JSON serialized data, I want to store that data and remove the UIWebView. I was thin...

UIWebView resizes text after rotating: looking for explanation for magical bug or my stupidity

Hello, all, so I have UIWebView in my application and I load some html (article) to it, put some CSS to make everything nicer. That's simple and clear and everything is perfect until I try to add reading in landscape functionality and then I've noticed that UIWebView ignores any css "font-size" I've put in HTML and increases font size d...

Download to iphone via iphone app

Hi All.. In my iPhone application i want to allow a user to download a file.(video file) From a UIWebview i have linked download button to the video file. Didnt worked ! Any ideas ? Please help ! ...

How to set the default (submit) button for a page loaded in an iPhone UIWebView (stringByEvaluatingJavaScriptFromString?)

Hi, I'm using a UIWebView to load an HTML form in my iPhone app. The form has three submit buttons (and selecting "Go" on the iPhone keypad selects the first submit button). I'm assuming that I can set a different "default" submit button with Javascript injection into the downloaded form, but I don't know Javascript well. Does anyone...

UIWebView finished loading Event

Hello, is it possible to start an event when an UIWebView (Iphone) has finished loading the URL. How can i find out, the current URL of the UIWebView? Best regards, Andreas ...

UIWebView locally save images and just load html

Hello, i want to load just the html from the web and show the images from the local resource. This helped me a lot, but is the path to the resource on every device the same? Or does it depend on an installation path or similar? http://stackoverflow.com/questions/1577576/show-content-with-uiwebview-on-the-iphone ...

Is UIWebView's JavaScript evaluator able to use the JS's RegExp object?

There is no default RegEx library on the iPhone. Is it ok if I use UIWebView's stringByEvaluatingJavaScriptFromString to evaluate a JavaScript string that actually uses the RegExp object to evaluate an expression? Is this supported on the iPhone? ...