im developing an app, which requires to load some menu's and presentations(pdf, flash etc.) menu items are loaded from database and each contains ID and Text. Menu items looks like below:
Crocin Combiflame
above menu items are hyper links, clicking them will open up presentations on the same page.
i need to call a xcode method in this scenario which can query database (located in document folder in app) and return presentation name and some other details.
i got two problems here
1) i came across
**– webView:shouldStartLoadWithRequest:navigationType:**
but this method returns BOOL and i want to return Presentation with other information
2) no idea how can i load presentation (inside Resources Folder of my app ) via javascript on the same page.
Any suggestions will b greatly appreciated. Thanks in advance.