How can I support game center for iOS 4 but still run app on iOS 3. So game center will available only on devices with iOS 4.
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.
You should make a weak link between gamekit framework and your app. You can make weak link with any framework in your project’s settings. Also check apple game kit programming guide for checking if game center is available. Basically it boils down to single function
as well as including
GameKit/GameKit.hheader file in your prefix.pch file.