iPhone UIWebView local resources using Javascript and handling onorientationChange

The answer can be traced from the warning I was getting in XCode: warning: no rule to process file ‘$(PROJECT_DIR)/html/orientation.js’ of type sourcecode.javascript for architecture i386 XCode setup *.js javascript as some type of source code needed to be compiled in the application when I wanted to include it as a resource so I solved … Read more