------------------NOTICE---------------- Sorry guys, made a stupid mistake, I had found this fix already: https://devforums.apple.com/message/32282
I'm programming an app for ios in html in a uiwebview (a book app) and using jquery and touchwipe to use swipes to move back/forwards through pages.
My code works when I source the javascript like this in the html:
<script type="text/javascript" src="http://code.jquery.com/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="http://www.netcu.de/templates/netcu/js/jquery.touchwipe.min.js"></script>
but doesn't work when I try to store the js locally, like this:
<script type="text/javascript" src="jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="jquery.touchwipe.min.js"></script>
The .js files are of course in the xcode project, next to the html files (which I suppose doesn't matter as everything is flattened when it's built)
Can anyone point me in the right direction? I'm using Xcode 4.2 on Mac OS 10.6.8
Answered fully at the top of the Question
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With