Closed Sega-Zero closed 6 years ago
Since device motion updates are performed in opQueue, it is not safe to read or set ui properties in a handler. Wrapped this code in DispatchQueue.main.async to resolve MainThreadChecker issues:
opQueue
Thanks for your contribution!
Since device motion updates are performed in
opQueue
, it is not safe to read or set ui properties in a handler. Wrapped this code in DispatchQueue.main.async to resolve MainThreadChecker issues: