it’s a little bit confusing I know but let’s try.
i have uiwebview in my iphone app and it’s loaded with html local file from the bundel .. I want to put html button in this file that can load another local file using javascript …
is that possible?? is there any other approach but that ..
any help will be appreciated
You can do a custom protocol bridge between the web page and your app as the following :
In you HTML page , you may add the following
atag for example :And in your app you’ll handle this event by the following code :