AIR for iOS ANEs, I'd like to use UIWebView..
Hi all,
Has anyone figured out if they can utilize the UIWebView via an ANE? I don't simply want to display things (like StageWebView), I want to use the lower level functions.
What I ultimately would like to do is send the UIWebView an URL to submit a form via "POST" to which will in turn give me back cookies. The same as if you visit a login form, fill in username/password and hit submit. After that a few cookies are assigned to me. I need to trap and use these cookies to make more requests.
My desire is to use UIWebView to download files. Currently I've already done it easily (natively) with a cookie collection. I can submit the post, capture the cookies and then send a direct url request (supplying those vital cookies). After that the server sends me a file.
This is a basic login setup. You must log in first. The system sets cookies (a login cookie and a session id). I supply those cookies to any further requests for "files" (PDFs, XLS, DOC, MP3, etc) and it allows me to directly download these files.
Has anyone figured out if ANE supports using the UIWebView in such a way?
I know the general rule is anything visual is off limits to ANE. I hope UIWebView can be used "non-visually" so I can trap those cookies to be able to download files. The purpose of the app is to download files once logged in.
Thanks for any tips in this ![]()
