I am developing a CAPTCHA app for iOS which can be used on websites as an alternative to CAPTCHA codes like reCAPTCHA. I have a button which uses a custom URL Schema to launch the app. The user then proves that they are a human and now I want to return the user to the page they were on.
I have tried opening the browser using the URL they came. This opens the same tab that the user came from but then refreshes the page. Any data that the user entered into a form before clicking the button is seen for a split second before the page refreshes and all the data is lost!
Apple do not allow apps on the app store that close themselves so I cant simply exit.
How can I return the user to the page in the browser that launched my app without refreshing the page so that no form data is lost?
Thanks in advance for any help.