This is an example to rotate a compass image based on the magnetrometer in iPhone. It's objective-c, and iOS version was about 5.x or so. Take it as code snippet and convert it to swift. If you compiling in the latest XCode, just target it to iOS 9 or above so that you can avoid some errors.
-
Notifications
You must be signed in to change notification settings - Fork 9
kiichi/CompassExample
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published