uiwebview

UITextField input problem

In my application there have two Outlet,one is UItextfield and another is UIWebview,textfield used to get the url request by the user and shown it in webview,but i met a problem is when finish the typing in my textfield, and click GO button(return) in the keyboard, that is nothing happen in my webview, my source code as shown in below: ...

UIWebView with scrollbars

How can i add scroll bars to uiwebview. should i put it in uiscrollview. In that case, i'm getting nothing :( Any help will be appreciated. Thanks. ...

iPhone Development - Setting UIWebView font

I have to show rich text that i pull from server, so i'm using UIWebView. Now the problem is that i have no control over the font which is used in UIWebView. How can i change the font to use system font (making it consistent with rest of the application)? I'm doing something like this at the moment: myRichTextView = [[UIWebView alloc] ...

Rendering a UIWebView into an ImageContext

I am trying to capture the contents of a UIWebView including that which is not visible to the user. i.e. The whole web page even though the user is only looking at the top. Looking around I found the best way to capture a UIView is to retrieve its layer and use renderInContext. However, UIWebView seems to be using its own CALayer imple...

Cocoa radio WebView scrolling

In cocoa using XCode and IB is it possible to have a scrolling view of WebViews from WebKit that double as radio buttons? How do I do this and how do I retrieve which view is selected? ...

UIWebView: How do I control page display with a PDF?

I have a PDF loaded in an iPhone app using UIWebView and it displays page numbers when the pages are scrolled manually. But I've had no luck figuring out how to access those numbers and set the page displayed. Any suggestions would be welcomed. Thanks. ...

QuickConnectiPhone and Google Maps (Hybrid) in terrain mode

Is there a way so show google maps in (hybrid) terrain mode with QuickConnectiPhone? Is it possible to search like usa, california, street number instead of using latitude and longitude? ...

Web image display in iPhone app

I am new to developing on the iPhone so am sorry if this is an easy question, but it has had me stumped for a little while. Basically the app displays data retrieved from an XML feed. In that feed is an element that contains the path to an image. eg http://www.myserver.com/myimage.jpeg. I want to be able to display that image in the li...

Stop UIWebView from "bouncing" vertically ?

Hi there; Does anyone know how to stop a UIWebView from bouncing vertically? I mean when a user touches their iphone screen, drags their finger downwards, and the webview shows a blank spot above the web page I had loaded? I've looked at the following possible solutions, but none of them worked for me: http://www.iphonedevsdk.com/foru...

iPhone UIWebview -- Saving an image already downloaded

I have an iPhone app with an embedded UIWebview (Safari) control. I'd like to be able to store the images from certain webpages locally. Can I programmatically access the path where UIWebview downloads images? Or do I need to parse the HTML and then go find the image resource out on the net and download it again? ...

UIWebView with UISearchBar for searching

I'm displaying a UISearchBar at the top of a UIWebView for entering information that I use to display content in the UIWebView. Is there a way to attach the UISearchBar (or perhaps a UITextField?) to the UIWebView "header" so that when the user scrolls down on the webview the UISearchBar also scrolls out of view and the full window is a...

Filling width in (iPhone) UIWebView landscape orientation?

I'm using a UIWebView with text in it. When the iPhone is rotated to landscape, text doesn't fill the now wider UIWebView width. I'm using P (paragraph) tags, which should not affect content filling landscape's width. The line breaks that are visible in portrait remain the same in landscape. In Interface Builder, I haven't changed an...

uiwebview (mobilesafari) with static header

I've tried numerous methods to get a static header on a UIWebView so that it only scrolls the content below a html header. Has anyone successfully accomplished this? ...

iPhone UIWebView playing MP3. Dismissal protocol?

So I can't find any documentation on how to do this, maybe someone knows what's going on here. I'm in a UITableView (with a UINavigationController) in my application, and launching a UIWebView that loads an mp3 file on the internet by pushing the Web View's controller onto the navigation controller's stack. This works great, the file l...

Anti-aliasing not working when resizing a UIWebView

I'd like to add a Web View to my app at 60% scale (like seen in Safari in the browse other windows view): Notice how the content looks nice and Aliased! If I try and add the same Web view to my app: NSURL *url = [NSURL URLWithString:@"http://www.google.co.uk?q=hello"]; NSURLRequest *request = [NSURLRequest requestWithURL:url]; UIWe...

how to increase font size in UIWebView

hi any one say , how to increase or decrease the UIWebview font size, not using scalePageToFit:NO; ...

UIWebView and PDF files

I am loading a relatively small PDF file (140kb) using UIWebView and even though this is working fine, I'm finding it lags a lot when I scroll and zoom. The PDF is a map so there's quite a lot of text and lines on it so I'm wondering if there's any way to accelerate it somehow so everything moves smoother? Would converting to PNG work be...

Scrollable div on iPhone without using 2 fingers?

Hi there; I've got a UIWebView embedded in my iPhone app, and I'd like to keep a locked header and footer DIV on the page at all times, with a scrollable center DIV. I know that I could do this using a header/footer that are UIView controls, but I want the header and footer to be HTML divs, as a pure HTML/JS/CSS solution will be easie...

How to escape characters in href=mailto (iPhone)

I want to create a link on a UIWebView that emails content to the user. A simple example is: <a href="mailto:[email protected]?subject=Sarcasm&body=I » <b>love</b> &lt;html&gt; mail!">Hi!</a> Which creates a message that looks like this: -- begin message --- To: [email protected] Subject: Sarcasm I love mail! -- end message -- ...

Is this causing EXC_BAD_ACCESS?

I'm getting a EXC_BAD _ACCESS after leaving the method below. At that point htmlDocument becomes invalid, which it should since it falls out of scope. But is that why I'm getting the error? By the time the contentView (UIWebView) loads, htmlDocument is gone. But doesn't contentView already have what it needs from loadHTMLString? - (...