uiwebview

UIWebView redirect to facebook login page

UiWebView redirect its self to already login page.i want to stop redirect? I want web view to reload login page and ask for username and password.Clear context and load request again. NSString *urlAddress = [NSString stringWithFormat:@"http://www.facebook.com/login.php?]; //Create a URL object. NSURL *urld = [NSURL URLWithString...

Using Manifest Files in UIWebView

I'm building an application for the iPhone/iPod Touch using a UIWebView object. Manifest files seem like an excellent way to do this, and I have gotten our app to load successfully offline in Safari using this technique. My problem is that once I move into my application, I can't get the manifest files to work offline in my UIWebView o...

UIWebView - How to identify the "last" webViewDidFinishLoad message?

The webViewDidFinishLoad message seems to be sent each time any object in the page has been loaded. Is there a way to determine that all loading of content is done? ...

UIWebView incl. content encoding/decoding

My aim: to continue a web session across an app interruption (eg. incoming SMS that is read). Approach A: I have tried to store the contents of a UIWebView in NSUserDefaults, like this: NSData *webViewData = [NSKeyedArchiver archivedDataWithRootObject:webView]; [[NSUserDefaults standardUserDefaults] setObject:webViewData forKey:kDefaul...

UIWebView resetting my form input values

I have a UIWebView that is typically browsing a J2EE application but I have a hardcoded check in shouldStartLoadWithRequest: to find the string "mobile_get_photo" in the URL and if present push a new view controller onto the navigation controller that allows a user to select an image via the photo library or the phone. The mobile_get_p...

UIWebView doesn't seem to be loading the page

I've got a navigation controller based app that downloads an RSS feed and lays out the item titles in a TableView. That part works. When I click on an article title, I want to push an instance of my FeedArticleController onto the navigation stack. The FeedArticleController loadView method sets up the views (since I want to learn how to d...

Deferring viewWillAppear until webViewDidFinishLoad

I have an application that uses UIWebViews in several view controllers. The UIWebViews are used to render locally generated html, no slow network access required. To save memory I only load these on demand as prompted by the viewcontroller viewWillAppear callback. (And unload offscreen instances in response to didReceiveMemoryWarning ...

UIWebView didn't quite finish loading.....

I have pushed a view onto my nav controller that contains a UIWebView and this will load a URL. When it starts I kick off the networkActivityIndicatorVisible and when it finishes I hide it. If a user decides he does not want to finish loading the web page and hits back on the navcontroller the network indicator carries on. How do I ...

Using the iPhone SDK Is it possible to display large content divided in the form of different pages?

Using the iPhone SDK Is it possible to display large content divided in the form of different pages? I want the user to be able to view the content without having large amounts of scrolling. I tried using UIWebView, but I couldn't found any auto scroll property for that. ...

problem with UIWebview and link to App Store

In my iPhone application I have a UIWebview that shows an html page. Inside that page there are links that should lead the user to the iTunes application and the application they tapped on. However, when the user taps on the link it errors out with 'too many redirects'. Looking at it with a packet sniffer I see it just keeps redirecti...

Pros and cons of MPMoviePlayerController versus launching UIWebView to stream movie

I have a client who has video content for the web in Flash format. My task is to help them show the videos in an iPhone app. I realize that step one is to get these videos into the appropriate Quicktime format for the iPhone. Then I'm going to have to help the client figure out how or where to host these files. If that's tricky I assum...

How to load subview from the main view?

Hi, I am very new to Obj-C and learning iphone development. My question is how to add subview from app delegate. Lets say I added subview called "MainView" from "applicationDidFinishLaunching" method. - (void)applicationDidFinishLaunching:(UIApplication *)application { MainViewController *aViewController = [[MainViewController all...

UIWebView going blank when navigating back to the view

Hi I have an app that loads a UIWebView. And that works well. It is possible for the user to click a link in the web view which then creates a new view controller/web view to load the link, which also works well. What isn't working so well, is that sometimes (1/4 maybe) when I come back to the initial web view, the view is blank white....

Is there a way to enable touch-hold image save in UIWebview

Ok so in mobile safari you can pull up a web page and touch and hold on an image to save it to the iPhone's photo library. In a UIWebview on a view this does not happen (it pops up the alt-text and never prompts you). I'm wondering if anyone knows a way to turn this feature on. ...

Getting a list of locals on the iPhone

Hi, how do I get a list of e.g. Restaurants around me? As far as I can see, google enables JS requests only, right? I would not want to use the WebView for that. Are there any other ways to get it? May be not google? I'm wondering because it's such a common task, but I've found no info on the net about it.. Cheers ...

Handling zooming and panning inside UIWebView

Hi all, I am using a UIWebview for loading the web pages in my application. Since the UIWebView automatically supports the zooming and pinching effect, so it there any way to control this zooming and pinching effect? I want to trace the scaling of the view? Is there any way to handle the zooming and panning inside the UIwebView ? An...

Handling touches inside UIWebview

Hi all, I have created a subclass of UIWebView , and have implemented the touchesBegan, touchesMoved and touchesEnded methods. but the web view subclass is not handling the touche events. Is there any method to handle the touch events inside the UIWebView subclass ??? Thanks... ...

Reading HTML content from a UIWebView

Is it possible to the raw HTML content of a web page that has been loaded into a UIWebView? If not, is there another way to pull raw HTML content from a web page in the iPhone SDK (such as an equivalent of the .NET WebClient::openRead)? Thanks in advance! ...

UIScroller inside UIWebView

Hi, Does any one have an idea how to access the UIScroller class , which is the default subview of UIWebView ? I want to handle the touches, zooming , panning and scrolling features inside the webview . Thanks.. ...

Autorotation And resizing

Hi All.. M developing an application which starts with a login page. After loggin the user will see a tableview.Selecting a row he will be directed to a web view showing a HTML content. Till here everything went fine.Now i want to see the webview in a landscape mode.I have dismissed the login view.The project template is view based. ...