uiwebview

HTML 5 video in UIWebview Orientation landscape

Hi. I have an iPhone application where every view is in portrait. I have a UIWebview with some HTML in it. Amoung that there is a html5 tagged video. When I play that video, it plays in portrait only. In order to make it work in landscape I have to return YES for shouldAutorotateToInterfaceOrientation in the viewcontroller, but I don't ...

How can I display the FBConnect in an UIWebView?

Hi, I'm using FBConnect in my project and I would like to display the login dialog in an UIWebView instead of the popping window. Like the IM+ app that using it (see attached picture). Thanks! ...

UIWebView setup is looping for some reason in viewDidLoad

Hi, I have the weirdest problem, I setup a UIWebView in the viewDidLoad section of my viewController and for some reaosn it keeps on looping through the setup : - (void)loadView { UIWebView *webViewer = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, 320, 430)]; webViewer.delegate = self; webViewer.scalesPageToFit = YES; w...

MJPEG in UIWebView - How to change scale with javascript (iphone)

I'm displaying an MJPEG stream in a UIWebView. I have two different sizes I want to use for the UIWebView. The video size is constant. So setScalesPageToFit isn't flexible enough, and I have no control over the source to change the viewport meta tag. So I'm left thinking that I need to do this via javascript (of which I have very lit...

Animation on view

hi to all i have 2 toolbar one at top and another at bottom in between of these two i have a webview and i apply a turn page animation on it. But my problem is that on Animation both tool bar are also move with them how can i stop toolbar animation.only webview is animated Thanks [UIView beginAnimations:nil context:NULL]; [UIView setAn...

uiwebview zoom text

I want to make a button that zooms the content of a html page like in the desktop version of safari. I think I might have to use javascript for this? if thats the case, how can I zoom a page with javascript? in UIWebView ...

UIWebView - show different images for different orientations

How can I show different IMGs in my HTML in a UIWebView, based on the iPhone's orientation? (Sorry if this is a trivial question...) ...

IBOutlet UIWebView retainCount

Hi guys, I have a View Controller in which I have UIwebView created in IB. IBOutlet UIWebView *webView; @property (nonatomic, retain) IBOutlet UIWebView *webView; @synthesize webView; this webView has retainCount = 2 in viewDidLoad. Why? Thanks ...

Using UIWebView displaying certain PDFs renders some text incorrectly

Occasionally, when loading a PDF (using a UIWebView), parts of the text will appeared 'garbled'. If you zoom in or out on the pdf, the text will change its 'garbledness'. This occurs on multipage pdfs with images and texts and seems to only happen on certain pieces of text, but the font doesnt seem to be the issue as the next line or s...

uiwebview can not open link

In the sdk sample code UICatalog, if i build in iPhone 3.2 or iPad, it can not open some link in www.baidu.com, but it work in ios4. Is there someone know why and how to fix it? ...

displaying a smaller UIWebView as a form sheet

I'm trying to pop up a UIWebView on iPad with a web site that is specifically sized for the iPhone (320x480). I want the web view to be centered, and transition in using a zooming animation. Other apps have this functionality, but I can't seem to find out how to do it. I've tried various combinations of presentation & transition style...

release contents of UIWebView

Hi guys, I have a ViewController and UIWebView created in Interface Builder in it. I fill webView with data like this: NSString *urlAddress = self.artUrl; //Create a URL object. NSURL *url = [NSURL URLWithString:urlAddress]; //URL Requst Object NSURLRequest *requestObj = [NSURLRequest requestWithURL:url]; //Load the request in ...

uiwebview and huge memory loss

Hi guys, I have a problem using UIWebViews, I've seen the same question here but there wasn't helpful answer. the question is here: http://stackoverflow.com/questions/2950907/uiwebview-memory-management . I will quote it: I am developing an application that makes heavy use of UIWebView. This app generates dynamically lots of UIWebVie...

Dynamically sizing a UIWebView based on it's content font size

I have some text that needs to be displayed in my app. The text contains links that need to be interactive. I have tried a few solutions for making tappable links in UITextViews and UILabels. UITextView links UITextView provides data detectors that pick up on URLs and make them tappable. Unusable to me because the link will only open...

How do you get UIWebView to rotate correctly?

How can I get a UIWebView to rotate correctly in the iPad SDK? The only code I have regarding rotation is: - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { return YES; } And when I look at my view in InterfaceBuilder, the UIWebView seems to stretch and fit nicely when in landscape orientat...

UIWebView in UIView need links to open up in browser

So i have an app that is not so much a webapp but more uses UIViewControllers and UIViews for most screens. On one particular controller i have a UIWebView control that only occupies a small portion of the UIViewController screen real estate that i load html from a web service as a string. [self.webView loadHTMLString:marketingBlurb ...

Can a UIWebView raise events to the containing view controller?

I have a UIWebController embedded in a UIViewController. I write the HTML code for the UIViewcontroller so I have complete control over the HTML page. When the user clicks a button in the HTML page - can the containing UIViewController be notified about it? Can the UIWebView send/raise an event to the UIViewControler? ...

UIWebview: open certain links in safari (not all)

Hi everyone.. I have a webpage in uiwebview.. On this page are a couple of http:// links. One of them I want to have it opened in safari. The rest can open in UIWebview. I used this code so far; - (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationTyp...

How can I scroll programmatically to the bottom in a UIWebView?

I know a similar question has been asked before but it seemed never been answered. I have a UIWebView and add some content by string. I use UIWebView because I add some images to it dynamically and also use other HTML features. This example code is simplified. NSString *myHtmlString = @"SOME LONG TEST STRING 1234567890 123456789 0123456...

Unable to exit the YouTube player and return to the app on an iPad

I'm embedding one or more youtube video urls in a UIWebView using tags as commonly found in samples. Clicking the thumbnail launches the YouTube video player. When tested on an iPod Touch, the video opens in landscape format, and clicking Done closes the Player and returns to the app as desired. When testing on an iPad, the Player ope...