On iphone’s home, you can press and hold on one app for 2 secs, then everyone is shaking and waiting to be delete or relocate.
How can I have this in my own view?
-
press & hold on somewhere and every subview is shaking
-
press & hold on somewhere so user can relocate the views?
Just like iOs’s home screen or ibook or quite many other apps?
thanks
1) You’d have to use UILongPressGestureRecognizer to detect long presses
and then in the startWobbling selector do:
2) Refer Touches sample code from Apple: http://developer.apple.com/library/ios/#samplecode/Touches/Introduction/Intro.html