is there any way to detect device with xcode ? i mean when my app runs on the iphone 3g , show an alert an says this feature works only 3gs
thank you .
is there any way to detect device with xcode ? i mean when my
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.
Don’t detect by device, but by feature.
For example, if you require the compass, add the
magnetometervalue into theUIRequiredDeviceCapabilitiesarray of theInfo.plist(and the AppStore will filter the app for iPhone 3G.)See http://developer.apple.com/iphone/library/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/AdvancedFeatures/AdvancedFeatures.html for detail.