I know that the framework was introduced in iOS 4 with the gyro. But is Core Motion backward-compatible? Or I am restricted to use UIAcceleration?
Does this imply that either I can’t use the gyro or can’t support earlier devices?
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.
The Core Motion framework is not available on pre 4.0 devices so you should wrap all related code into a runtime check to see if the class exists which is the recommended way according to Apple.