Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 07-25-2008, 01:22 PM   #6 (permalink)
MrMidi
Not So Junior Member
 
Join Date: Jul 2008
Posts: 4
Default Answer (Tested and Working)

Greetings,

Though I have not found a way to turn this off through the SDK, I HAVE found a way to turn this off from your web content.

Using JavaScript just add this:

For jQuery users:

Code:
$().ready(function(){
    document.ontouchmove = function(e){ e.preventDefault(); }
});
And everyone else:

Code:
document.onload = function(){
    document.ontouchmove = function(e){ e.preventDefault(); }
};
Enjoy,

- Peter Schmalfeldt

Last edited by MrMidi; 08-07-2008 at 03:07 AM.
MrMidi is offline   Reply With Quote
 

» Advertisements
» Online Users: 733
19 members and 714 guests
adivoget15, aniuco, AppAnnex, bradte16, chits12345, chrisfromnz, dana0550, Dani77, deepak.hws, Domele, handmachine, Harisstimolth5, iSkythe, JamesCahall, Janyeok, k2c, Oral B, Relwakbanzela, salehamahbub
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,794
Threads: 89,205
Posts: 380,606
Top Poster: BrianSlick (7,129)
Welcome to our newest member, adivoget15
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 12:42 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.