Hi Guys,
So I am busy experimenting with HTTP POST requests from an iOS app.
The idea is this:
1. User Fills in some details in a UITextField(s)
2. User taps confirm button
3. UIWebView comes up on screen
4. HTTP POST request is made to the server with details from the text fields.
5. Once server has received POST request and we get a "successful transaction" it redirects back to the app
6. UIWebView closes based on step five.
So the user cannot close the WebView. The WebView closes based on two statements
1. HTTP POST Request successful
2. HTTP POST request failed
So the UIWebView will always have a way to close.
Now I am able to complete steps 1,2 and 3.
I can figure out step 4 with some digging.
What I want to know - if it possible to have the UIWebView close based on a HTTP POST request? [self.myWebView removeFromSuperView} type of thing?
The big idea here is implementing 3D Secure into my app - however before I explore those avenue - I need to make sure I can close a UIWebView based on a HTTP POST request.
If the only way to close a UIWebView is by a button or navigation controller etc - then I can stop here in my request for 3D Secure.
Any advice?
Thanks all!
So I am busy experimenting with HTTP POST requests from an iOS app.
The idea is this:
1. User Fills in some details in a UITextField(s)
2. User taps confirm button
3. UIWebView comes up on screen
4. HTTP POST request is made to the server with details from the text fields.
5. Once server has received POST request and we get a "successful transaction" it redirects back to the app
6. UIWebView closes based on step five.
So the user cannot close the WebView. The WebView closes based on two statements
1. HTTP POST Request successful
2. HTTP POST request failed
So the UIWebView will always have a way to close.
Now I am able to complete steps 1,2 and 3.
I can figure out step 4 with some digging.
What I want to know - if it possible to have the UIWebView close based on a HTTP POST request? [self.myWebView removeFromSuperView} type of thing?
The big idea here is implementing 3D Secure into my app - however before I explore those avenue - I need to make sure I can close a UIWebView based on a HTTP POST request.
If the only way to close a UIWebView is by a button or navigation controller etc - then I can stop here in my request for 3D Secure.
Any advice?
Thanks all!