문제

Reading Apple documentationi found that UIEventTypeMotion is useful only to intercept Shake. It sounds weird... but the only subtype on a UIEventTypeMotion is UIEventTypeMotionShake. I can't understand how to use function - (void)motionBegan:(UIEventSubtype)motion withEvent:(UIEvent *)event in other way..

도움이 되었습니까?

해결책

yep, at the moment the only motion gesture it recognises is shaking. by the looks of it apple will probably be adding more in the future, but we'll have to wait and see :)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top