uiwebview

UIwebview delays loading

Hi, I have Login screen and second view which will be shown after login. On second view I have UIWebview which loads the url. After login first it shows the empty view and slowly it loads the url. I want to show login screen with wait cursor, until the uiwebview loads the url and then want show that screen. Can any body please provid...

Scrolling in Webview Progmatically

My Question is that I am displaying a webpage and search functionality is Implemented. All the occurences of a given word are highlited. Now i want that when i Click on next button it should scroll down to next occurence. I am aware of fragment identifier but still could not solve it. Any help will be appreciated ...

How to set the touch Access to one element in UIWebView?

Situation: I have an interactive Java/AJAX Object in my HTML page. It's a simple Application for displaying images with zooming. Recently I can tap / touch the screen and the Application detects that and is zooming in - like that i wanted. But the other features like to move the crop of the image to another area of the image isn't suppo...

Why does my UIWebView not Allow User Interaction?

Hi, I'm new to these forums so I apologize for my noobieness. I did as thorough a search as I could, but I couldn't find anyone else with this issue, applogise if this has been covered elsewhere. I've created a very simple example of my problem. I'm sure I'm missing something but I can't for the life of me figure out what. I'm creating...

Need to Release UIWebView Delegate?

I have a UIWebView named wView. I want to use webViewDidFinishLoad: in my class, so I am setting the class as the delegate for wView by using this line: wView.delegate = self; Everything loads properly, but when I close the UIWebView, the App crashes. If I comment out the wView.delegate = self, it works and does not crash, but then I ...

Can I open an HTML5 client-side database via an iPhone App (objective-C)?

I am using UIWebView in a regular Objective-C iPhone App. Web pages displayed in the UIWebView are writing to a HTML5 client-side SQL database via javascript. I would like to open this database for reading and writing from the iPhone App. Is this possible? and if so, how do I find the database and can I use the SQLite framework to ope...

Why does UIWebKit throw a structuralComplexityContribution exception?

I've got a simple UIWebView in my iPhone app that's loading a XHTML document with some SGV embeded. This all works find on the desktop version of Safari, but it crashes in a UIWebView. Here is the Objective C: NSString *path = [[NSBundle mainBundle] pathForResource:@"test" ofType:@"html"]; NSData *fileData = [NSData dataWithContentsOf...

On-screen keyboard not appearing when editing text fields in a UIWebView

I have a web view which displays a simple login form, containing username and password fields. However when the user clicks in one of the text fields, although the cursor appears in the text field, the on-screen keyboard does not appear. I've tried registering for UIKeyboardWillShowNotifications notifications and I see this notificatio...

UIWebView NSURLRequestReloadIgnoringLocalCacheData doesn't actually ignore the cache

I have a UIWebView object, with the caching-policy specified as: NSURLRequestReloadIgnoringLocalCacheData This should ignore whatever objects are in the local cache and retrieve the latest version of a site from the web. However, after the first load of the site (ten resources in trace, HTTP GET), all subsequent loads of the site only ...

UIWebView leak? Can someone confirm?

I was leak-testing my current project and I'm stumped. I've been browsing like crazy and tried everything except chicken sacrifice. I just created a tiny toy project app from scratch and I can duplicate the leak in there. So either UIWebView has a leak or I'm doing something really silly. Essentially, it boils down to a loadRequest: cal...

How to turn off the bounce in UIWebView

Hi all, can you just help me turning off the bounce in the UIWebView. Because when we over scroll it it displays the unnecessary space with the grayish back ground. Thanks in advance. ...

UIWebView loading progress and adjust web page to fit the view page?

Hello everyone I am using UIWebView to load a web page. There are 3 questions: 1.It it possible to track the percentage progress when UIWebView is loading the page? 2.I noticed that when Safari loading a web page, the URL textfield displays a blue background progress indicator to tell user the percentage of loading a web page. What i...

How to dismiss keyboard on a UIWebView?

I am loading an HTML page that has a form. I would like to be able to dismiss the keyboard when the user clicks on GO or if he clicks on the SUBMIT button on the HTML page. If the user decides he doesn't want to fill out the form, I also need a way to dismiss the keyboard. Not sure how to do this. ...

Display keyboard above toolbar?

I have a view with a bottom toolbar and a UIWebview that is loading an HTML page with some textboxes. Is there anyway when the user clicks on a textbox, the keyboard appears above the toolbar, that way it doesn't hide its buttons? ...

Save UIwebview contents to photo gallery

There's a video tutorial on u tube that shows how to perform this.It consists of a UIwebview and toolbar button to save the contents.Haven't had any luck making this work.Could someone have a look and see they can make it work.Many thanks in advance. http://www.youtube.com/watch?v=gDPca3JIc_s&feature=player_embedded# //////////////...

How to fit PDF height in UIWebView in iPhone/iPad

I have a project that uses a UIWebView to display a single page PDF file. I would like this content to fit by height (vertically). The default is only to fit width (horizontally). Is there any way to overcome this? ...

is it possible to request UIWebView using user agent as Safari on iPhone?

i try to request on my application via this url http://reader.mac.com/mobile/v1/http%3A%2F%2Ffeeds.feedburner.com%2F9To5Mac-MacAllDay and it also return that it available on iPhone only how can i fix it? mycode NSMutableURLRequest *urlRequest = [[NSMutableURLRequest alloc] initWithURL: [NSURL URLWithString: myurl]]; [urlRequest ...

Does UIWebView support javascript-based double-click events?

As usual, I'm trying to do something the easiest way possible, in this case implement a double-tap handler on a UIWebView like so: <div id="foo" ondblclick="clickHandler(this);" ... > It works fine in Safari and Firefox, and I know the code containing clickHandler is loading on the iPhone thanks to a now-annoying alert stmt at the end...

Is it possible to populate HTML form field data in an iPhone UIWebView using external accessory framework?

I have an iPhone app where I'd like to load a remotely served HTML form into a UIWebView and then populate that form as data becomes available from an external accessory using the "External Accessory Framework." Right now the data is entered by hand. The proposed flow is: Fetch an HTML page containing a form and put it into a UIWebVi...

how to handle base tag target attribute in iphone uiwebview to open new window

When the links are supposed to open a new window, iphone uiwebview won't trigger an event when user click these links. We had to use javascript to do some trick to the target attribute of the links. I can handle 'a' tag to open in the '_self' window with the trick without problem. But when I do it the same way with the 'base' tag. it do...