Starts gyroscope updates on an operation queue and with a specified handler.
- iOS 4.0+
- Mac Catalyst 13.0+
- watchOS 2.0+
- Core Motion
An operation queue provided by the caller. Because the processed events might arrive at a high rate, using the main operation queue is not recommended.
A block that is invoked with each update to handle new gyroscope data. The block must conform to the
You must call
stop when you no longer want your app to process gyroscope updates.