2011-04-05 26 views

回答

3
- (void)motionBegan:(UIEventSubtype)motion withEvent:(UIEvent *)event { 
     if (event.subtype == UIEventSubtypeMotionShake) { 
       // The user shook the device 
     } 
} 
+0

Cong for 2k + 1 .... :) – 2012-07-29 12:53:50

相關問題