I have a UIViewController with a UIWebView (webview1) in it. The webview is only a few lines of text but does have a link in it. Rather than open the link, which goes to an external website, in this tiny space, I'd like to send it on to webview2, which will be a full screen. The goal is to keep the web requests within my app rather th...
I'm experimenting with PhoneGap to develop some iPhone apps. PhoneGap basically wraps a UIWebView - it works well. The problem is the my app has several input fields that only take numeric input. I really need to force the numeric keypad instead of accepting the default standard keyboard, which then forces the user to switch to the num...
Hi
I have a UIWebView And how can i get It's scroll position ?
I know, that UIWebView has a UIScroller subview. But I can't get offset of this UIScroller (((
...
I have a view containing a UIWebView which is loading a google map (so lots of javascript etc). The problem I have is that if the user hits the 'back' button on the nav bar before the web view has finished loading, it is not clear to me how to tidily tell the web view to stop loading and then release it, without getting messages sent to ...
Hello all,
I'm trying to use a UIWebView to display content, and jQuery to manipulate that content, but I can't get jQuery to load. Here's the code that I have setting up the UIWebView, setting the baseURL, and loading the content (an HTML file that's in the local bundle):
UIWebView *view = [[UIWebView alloc] initWithFrame:[[UIScreen m...
I'm using a UIWebView to display a third party web app in my native iPhone application. The third party app uses HTML5's database storage. I'm using stringByEvaluatingJavaScriptFromString to modify the web app's dom a bit, but there's one thing I'm having a lot of trouble trying to do.
What I'd like to do is use javascript to create a...
When I edit a text field in my UIWebView, the keyboard appears attached with a UIToolbar with various buttons to switch fields etc. I was wondering if anyone knew a way to get rid of this toolbar?
...
I'm making a simple tab bar iPhone application. It has two tabs, one with a UIWebView and the other with a few text fields to hold settings, and a button to save the settings.
What I want to do is reload the UIWebView when the user clicks save on the settings tab/view. I already have it saving the settings, I just need to figure out h...
I'm using a UIWebView to display images in base64 (http://www.abluestar.com/utilities/encode_base64/index.php). The UIWebView is set to "Scales Page To Fit" and Mode is "Left". The image might be 400px wide but once rendered in the UiWebView, it takes up not even half of the screen. I need to do something like style="width:800px;..." ...
I'm trying to server HTML Javascript and CSS content from an iPhone application's local resources, and I'm having trouble handling onOrientationChange events and including external Javascript.
I seem to be able to link in CSS properly but not javascript. I'm trying to use the following example of handling onOrientationChange (How to bui...
I'm trying to get a UIImage of a UIWebView, I can do this fine using renderInContext:. However before I generate the image I would like to update the UIWebView with some HTML code, the trick is the UIWebView is hidden. Right now, I can not get the updated version of the web view to render in the UIImage, just the old one.
...
I would like to hide the native scrollbar / scroller that appears when you are scrolling a UIWebView, but still keep the scrolling functionality intact. Is this possible?
Thanks in advance,
William
...
Greetings!
I'm trying to have a UIWebView controlled from generated events.
Is there a part of the documented iphone SDK to programatically create a UIEvent (or action or something) that I can then pass to a UIWebView and have it interpret it like a user's gesture?
I'd settle just if somebody could show me or link to just creating a ...
I'm using a meta viewport as mentioned here http://stackoverflow.com/questions/835040/why-does-uiwebview-shrink-images for UIWebView. This formats portrait fine and I don't have to compensate for weird scaling. However, once rotated to landscape, I can't take advantage of the additional width. Meaning, I'd like to fit more text into a...
I need to display a table formatted data on top of a UIWebView as a modal. Basically a UIAlertView. However, I need to display tabular data in this modal, which UIAlertView can't do (that I know of). I'm thinking to create an image with the textual data in it and display the image in a UIImageView or that within a UIView that can have...
I have an UIWebView that loads a HTML form.
When I select a text field the keyboard appears.
When I type and hit "Go" the form is submitted and the next page loads, but the keyboard does not go away, it stays on the screen.
The only way to get rid of the keyboard is to press the 'done' button on the keyboard or press the HTML submit ...
I have been told that UIWebView are big and expensive (memory and computationally) to create and retain. Is this true? and how expensive are they?
...
I load a UIWebView from a string in a navigation based app. I'm using this in a UIWebView's header tag:
<meta name="viewport" content="width=320,height=420,user-scalable=yes,initial-scale=1.0">
I use viewport at 1.0 because image sizes don't have to be readjusted, which is the case without viewport. When the phone is rotated to land...
We use encrypted web pages in our iPhone app, and intercepts these calls (e.g. when clicking a link) in the webView:shouldStartLoadWithRequest: method to get the file path, decrypt the data to the original html string and then doing a loadHTMLString: on the webView (returning YES in webView:shouldStartLoadWithRequest:, obviously).
The p...