I have a Subview that load a Webview. In this Webview I load a file HTML locally in the Documents folder of my App. I need to check if the webview load another HTML file. Specifically:
- Webview load "index.html" locally in my Documents folder
- After 7 days a Javascript load another page with
location.href= "index2.html", - When I load this WebView I need to check if the current URL is index.html or index2.html, if is the second I must change Subview!
How can I do this?