User Tools

Site Tools


objective-c:examples:uiwebview_using_local_resources

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

objective-c:examples:uiwebview_using_local_resources [2014/08/19 02:19]
Mo
objective-c:examples:uiwebview_using_local_resources [2014/08/19 02:25] (current)
Mo
Line 263: Line 263:
 Click on the blue project icon at the top of the project-navigator on the left and then under targets select the target with name of your project. Find 'Build Phases' and add the main.js to 'Copy Bundle Resources' while clicking add(+) and select your .js file. And that's it!\\ Click on the blue project icon at the top of the project-navigator on the left and then under targets select the target with name of your project. Find 'Build Phases' and add the main.js to 'Copy Bundle Resources' while clicking add(+) and select your .js file. And that's it!\\
  
-Run the project and you should see somethings like this:\\ +Run the project and you should see somethings like thisA Javascript call and the index.html after closing the alert:\\
-A Javascript call and the index.html after closing the alert:\\+
 {{:objective-c:examples:jscall.png}}{{:objective-c:examples:indexcontent.png}}\\ {{:objective-c:examples:jscall.png}}{{:objective-c:examples:indexcontent.png}}\\
 I hope this will help somebody somehow. Took me a while to figure this small amount of how-to out. Happy coding :) I hope this will help somebody somehow. Took me a while to figure this small amount of how-to out. Happy coding :)
advertising
objective-c/examples/uiwebview_using_local_resources.txt · Last modified: 2014/08/19 02:25 by Mo

Impressum Datenschutz