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: 1) Webview load "index.html" locally in my Documents folder 2) After 7 days a Javascript load another page with "location.href= "index2.html" ", 3) 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?
Thanks to everyone can help me!