uiwebview

How to refresh a UIWebView without using reload (using google charts api)?

I'm using the Google chart api along with a UIWebView in my iPhone app. http://code.google.com/apis/chart/ In some cases, there's a delay in the load time of the chart since it's embedded in the page. When that occurs, the area on screen will be blank until a touch event occurs on the screen and it refreshes to display the chart. I ca...

How to display a loading gif image in iphone application while uiwebview content loads

I have a uiwebview in my iphone application. I want to show a loading gif image which is located in my application , until complete contents of my uiwebview loads . Can anybody suggest a method ? ...

iPhone SDK- Launch youtube application from within my application

I am developing an app that use UIWebView to display a list of videos from youtube. For playing the videos I use the youtube embed feature and it open the youtube application when the user clicks the video thumbnail - works great. I want the same functionality to be executed when I click a "Watch Now" button that will be located near ...

UIWebView Keyboard - Getting rid of the "Previous/Next/Done" bar

I want to get rid of the bar on top of the keyboard that appears when you focus a text field in a webview. We have some other ways of handling this and it's redundant and unnecessary. ...

Disabling data detectors for a specific HTML element in a UIWebView

Does anyone know if it's possible to disable the data detectors for phone numbers, email addresses etc in a UIWebView, for specific HTML elements only? I'd like the detectors to be active for most of the content loaded into the UIWebView, but disable it in certain areas. If this is possible, I'm assuming it would be achieved by using a...

Fixed Positioning without Scrolling

I have a toolbar div in my IUI. I want to fix the position of toolbar without scrolling. How can I do this ? please help me. ...

Embedding an offline Dashcode application in a UIWebView in an iPhone application

In order words, can anyone tell me the basics of how to create a "hybrid" iPhone application? I want to load the web content (the Dashcode app itself) from the native application's application bundle. I've gotten this to partially work, but some content won't display and it otherwise seems like Dashcode is assuming a certain Safari envi...

Image drawing on PDF fails to draw image with transformation and outputs wrong.

Hello guys, I've a problem with drawing images on PDF. I do apply scaling, rotation, move, etc. to an image and draws that image on the PDF. But drawing is not outputting correctly. When I do rotate image, it just scales and doesn't rotate. Here, I explain in more detail: I place an image on UIWebView to make fake effect of image exact...

How to hide the popup of URL in UIwebview

I have UIwebview. While keep on clicking on a hyperlink or button on UIwebview , one small bar of URL is appearing. How i can hide that ? In Iphone applications using IUI with UIwebview , this address popup bar is a distraction. Will you please answer me ? Thanks in advance.... ...

How do I open links in a WebView rather than Safari?

I have a text view, which has links to web pages, like Wikipedia. Usually when I click on the links it closes my app and opens up Safari. How do I control the hyperlink, so it loads the web page in the UIWebView instead of Safari? Putting a button over the link isn't what I want, because it is a scrollable text view. Is there a Void I...

iPhone SDK - WebView activity indicator

Hey guys, I have a big problem with the UIWebView in iPhone SDK. I have a TabBarApplication with one WebView on each Tab (except the first). Because it takes quiet a while to load the views I'd like to show an activity indicator. Here is the code I'm using in order to do that: -(void)webViewDidStartLoad:(UIWebView *) portal { [UIApp...

Can't get UIWEBVIEW working in any view controller other than app delegate

I've been messing around with some open source code trying to figure cocoa out. I've gotten an application with multiple views, and I want to put UIWEBVIEWS on the second, third, and fourth view controllers i've made. However for the life of me I can't seem to figure it out I can actually pull down on the touch screen a black/blank UIWE...

How do I add a hyperlink in my app?

I've tried a number of methods: A UIWebView doesn't do the trick because I've got a textured background, and the UIWebView doesn't do transparent backgrounds. A UITextView - seems like a really good option. I've got it auto detecting my hyperlink, but it overrides my link colour with blue. :( I've looked at the Three20 code - this look...

Does UIWebView send the same User-Agent in the Request Headers as mobile Safari?

Sorry, I would just test this myself, but I'm currently without my mac. Does a web request made inside of a UIWebView send the same user-agent info that a web request made from mobile Safari would? ...

Add parameter to each HTTP request in UIWebView

Hi, I'd like to be able to add an HTTP parameter (i.e. http://addr?myParam=...) to each request created by the UIWebView control in my application. This is easily done when loading the initial page (via loadRequest) but I need to do this for request triggered as a result of user navigation, etc. I noticed that I can capture all requests...

Is there any way to make UIWebView faster

I have a local HTML page which doesn't has any external link(css or images..) I use method below to load it to a WebView - (void)loadData:(NSData *)data MIMEType:(NSString *)MIMEType textEncodingName:(NSString *)textEncodingName baseURL:(NSURL *)baseURL; it takes around 5-8 seconds to load this page, that's too slow. right? but when...

iPhone Drawing in Browser

Can I develop an application on web to draw something on iPhone? I guess not because when I draw in the browser it will be treated as "dragging" but I just want to double check for a solution out there. Thanks. Marcelo ...

jQuery and UIWebView

I'm looking for a way to automatically bring up the iPod/iPhone keyboard to enter data into a form element when the page loads. I'm using jQuery. For some reason selecting the element in the document.ready() event handler and using the focus() event does not trigger the keyboard to come up. $("#myInput").click() doesn't work either. ...

How to handle drag events on iphone and ipad with javascript/jquery?

Hey, I have a little app that has been under development for some time. My friends and I have been working really hard on this and are near release of the beta version. I want to give some demos using iPhone and iPad to look cool :p Now my problem is how to handle: Mouse Down Mouse Up Mouse Leave The multitouch interface of the iP...

Detect when I scroll my UIWebView at top of the page

Hello I would like to add an URL/google bar on top of my webview, and access it by scrolling up my web page exactly as Safari do. To do this, I would detect when the user is scrolling the page, and more over when the scroll reaches the top. But I really don't know how. An idea ? Thanx a lot. Martin ...