1

I am trying to get this Outlook Web Access demo account to load in an iPhone's UIWebView, and it does absolutely nothing. I don't even get an error code with the UIWebViewDelegate didfailLoadwithError method. Here's the details:

URL: https://webmail.123Together.com/exchange/  
Username: test@123Together.com  
Password: test

I would like to get this successfully loaded using webView loadrequest method if possible.

phoxis
  • 60,131
  • 14
  • 81
  • 117
Matt
  • 33
  • 1
  • 5
  • It doesn't load in a UIWebView.. It's just white screen. Checking how it loads in a normal brower, I am thinking it has to do with the pop-up authentication box I am getting as opposed to the html login page that OWA generally uses to authenticate a user. – Matt Feb 19 '10 at 03:31
  • How did you solve this problem? Can you please share some links. – Ganesh G May 24 '13 at 05:06

1 Answers1

0

An interesting and different approach is ASIWebPageRequest by Ben Copsey:

The ASIWebPageRequest class included with ASIHTTPRequest lets you download complete webpages, including external resources like images and stylesheets.

Available at: http://allseeing-i.com/ASIHTTPRequest/ASIWebPageRequest

.. or, by the same author, ProxyingUIWebView:

This project demonstrates a UIWebView that proxies nearly all HTTP requests via a local web-server.

Link: https://github.com/pokeb/ProxyingUIWebView

In both cases, you feed UIWebView with preprocessed html, so that it's not aware that this is protected content. Both techniques have limitations, and it's hard to say whether a web application as complex as OWA can properly work (in fact, it would be nice if you could report back your findings).

Note that ASIWebPageRequest is part of ASIHTTPRequest, a project that - as of this writing - has been abandoned. I am including it because both approaches are very interesting and worth studying.

magma
  • 8,432
  • 1
  • 35
  • 33