ios - Change sensitivity of shake gesture in SpriteKit: goal is to create quicker shake? -
is possible change sensitivity of shake gesture in spritekit? specifically, want trigger shake gesture on faster shake default. it's not clear apple documentation: https://developer.apple.com/library/ios/documentation/eventhandling/conceptual/eventhandlingiphoneos/motion_event_basics/motion_event_basics.html.
this post outdated: iphone app increase shake gesture sensitivity
is option implement custom handler using accelerometer data? or using gyroscope data better?
there's no setting shake sensitivity. can use coremotion create method , set custom parameters detecting movement/shaking of device.
Comments
Post a Comment