0

i want to develop an application which deletes rows from a table view when somone shakes the iPhone,can someone suggest me how to proceed

Sid
  • 17
  • 1
  • 3

1 Answers1

0

Import QuartzCore/QuartzCore.h framework and call the following methods

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

}

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

}

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

}
Vaibhav Saran
  • 12,848
  • 3
  • 65
  • 75