Question

i have implemented the

 - (void)motionEnded:(UIEventSubtype)motion withEvent:(UIEvent *)event {

to capture the shake when some one ends the shaking of iPhone, but I need to determine the start of shake, how can o do this?

OTHER TIPS

- (void)motionBegan:(UIEventSubtype)motion withEvent:(UIEvent *)event {

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top