Is it possible to use the native compass that iOS has within my own application? Or do I need to draw and animate my own compass?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is no native compass
UIView. In order to use the magnetometer, you’ll have to use CoreLocation and the following delegate method:to rotate a UIView to point North (bearingView is a UIImageView):