Part of my iOS app has a UIWebView that has a button bar on the bottom and loads a local index.html file. The 2 buttons on the bar are 'back' and 'done'. The index.html file is a list of downloaded (hence also local) html mini-apps which are loaded into that same webview. Because of some required navigation issues with those mini-apps the webview's 'back' button is not a goBack connected to the webView, it's really a link button back to the index.html.
I need that 'back' button to be hidden or disabled if index.html is the active page in the webview. I know how to disable it entirely, but I need it enabled when mini-apps are loaded to get back to the list. Any suggestions? Many thanks!