PDA

View Full Version : Coding help???




stephan1
Dec 3, 2009, 02:40 PM
Hello, im very new to programming and have not learned any languages yet. I was just wondering if it would be difficult to make a script (or code) that makes the iPhone vibrate for a brief moment (less than a second) whenever the user touches the screen...

Thanks in advance...



dejo
Dec 3, 2009, 02:42 PM
This is pretty simple actually. See the SysSound (http://developer.apple.com/iphone/library/samplecode/SysSound/index.html) sample app for how it can be done.

stephan1
Dec 3, 2009, 04:59 PM
thanks