I need to perform search in an html page displayed in a UIWebView control. The functionality I need is something that Safari has, when you hit command/ctrl F for searching the document for some word and the program highlights the hits for you. Is there any easy solution for this problem?
...
For my app, I subclassed UIWebView (the method described here http://ryan-brubaker.blogspot.com/2009/01/iphone-sdk-uiwebview.html).
I did this so that I could intercept touch events; when I detect certain types of taps, I perform the corresponding custom action, and then pass the event along to the underlying UIWebView.
So for exampl...
I am loading a webpage from an external server using UIWebView. The page loads very slowly. Using Edge, it takes ~30 seconds. Using WiFi, it takes ~5-6 seconds. The same page is much faster when loading directly through Safari.
In the simulator, the UIWebView is very responsive.
Has anyone had any experience in increase the performanc...
Hi,
in my iPhone app, I have an UIWebView with some simple HTML links to audio files.
When the user opens such an audio file, media player plays it an leaves my
UIWebView with this screen:
How do I dismiss it after the audio file was played?
I've searched for UIWebView's delegates without finding something useful.
...
I have a full screen UIWebView component on the screen with fixed size content, so no scrolling required. When I nudge the screen the content in moving up or down.
The same effect can one experience all over the iPhone when there is a scroll-enabled component.
I would like to prevent this happening in my application. Please shed some ...
Hi,
I am having the "Futura.ttf" font file.
I am displaying a HTML page in the UIWebView, but my requirement is that i want to use the custom font in my css file.
so is there any way that i can use the custom font in my css file ???
All suggestions are welcomed.
Thanks.
...
I have a UIWebView with html data loaded in it
Is it possible to use javascript to search for text in this view?
Thanks for any answers
...
I'd like to dislay an image in UIWebView using
<img src="imageInBundle.png"/>
The above image is in my bundle. I load it, along with other HTML in a string, like this:
[myWebView loadHTMLString:htmlString baseURL:[NSURL URLWithString: @"http://www.abc.com"]];
However, I just get a blue box with a white question mark. Is there som...
Hello,
I use a UIWebView displaying a PDF file. By default the PDF is displayed in portait mode but the user can rotate the iPhone. The rotation work well, but after being in landscape, the PDF position is not the same as in portrait. Whe I switch back to portrait mode, the scroll is at the "old" position in the PDF.
My controller send...
Hello,
I have a UIWebView that I need to load a page with a specific URL that pulls a number from the users iPhone.
I have the following code
UIDevice *myDevice = [UIDevice currentDevice];
NSString *deviceUDID = [myDevice uniqueIdentifier];
[webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://mysite.com...
Does anyone know if its possible to remove the shadow that is placed on the UIWebView window?
Example: http://uploadingit.com/files/1173105_olub5/shadow.png
If its possible how do you do it?
Thanks
...
I have a UIWebView-based iPhone application that reads in HTML from a SQLite database. The user can save new information, entered via a UITextView that accepts carriage returns. How do I display these carriage returns (line breaks) properly in the UIWebView? I have tried using something like this:
NSString *HTMLData = [mySQLiteDataObjec...
I just noticed that since the upgrade to 3.0 the meta-tag:
<meta name="format-detection" content="telephone=no" />
Stopped working in my application. I'm using a UIWebView and everything worked before the upgrade. Any ideas? Anyone else having this problem?
...
Hi all,
I have a UIWebView and UIButton added as subview to my View.
And I have a large webpage displayed inside my UIWebView, is it possible to scroll the webpage by clicking a button on the UIView?
I want to make the webpage scroll untill it reaches the bottom of the document.
The javascript to be used is : window.scrollTo(xPos, yPo...
Hi,
Is it possible to load a page through UIWebView with POST parameters?
I can probably just load an embedded form with the parameters and fill them in with javascript and force a submit, but is there a cleaner and faster way?
Thanks!
...
Hello, i'm building an app that will display some newsletters to the users. the newsletters are displayed in a uiWebView. I'm reading the url's for the newsletters from an rss feed. I parse the xml, and in a table view i have all the newsletters. When a cell is clicked the uiWebView is pushed and the newsletter is loaded. Because the uiW...
Hi,
I'm using objective-c & the iphone 3.0 sdk
I want to retrieve the contents of a URL (web page or pdf) and display it within a UIWebView
it seems that the thing to do is something like this:
NSURLRequest *requestObject = [NSURLRequest requestWithURL:myURL];
[myUIWebView loadRequest:requestObject];
this works quite well, except f...
Hi all,
I'm building an iPhone application with a UITableView. On selecting a row a web page is loaded in a UIWebView in the next tab along. Currently this is all working, however, how can I set the application to automatically move into the tab where the webpage has been loaded into the UIWebView?
Is there some form of animation that ...
i have a tableview controller, when i select a row its pushing another view controller. In that view controller 's loadView i have to request a url. it will take 5 or 10 secs to complete the request. i have to show UIActivityIndicatorView for that delay . I have a UIActivityIndicatorView in my table view didSelectRowAtIndexPath and I...
Hi! Help is highly appreciated. I'm stuck here:
I need to examine a response before I start loading an URL in my UIWebView. However a synchronous NSURLConnection will first download the data and then let me access the response, which is bad.
An asynchronous NSURLConnection will let me examine the response before any data is received bu...