How do I build an app in Xcode to prevent it’s installation on an iPad? The answers to related questions I see here seem to refer to settings and procedures that no longer apply in Xcode 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.
Unfortunately this it is not possible to prevent an installation of an app on a certain type of device.
But a cheap and dirty way to prevent iPad users from using the app would be to check in the
appDelegate:and than in the
UIAlertViewDelegate:This will cause the app to not run on the iPad.