Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6567965
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T14:23:57+00:00 2026-05-25T14:23:57+00:00

How do I build an app in Xcode to prevent it’s installation on an

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T14:23:57+00:00Added an answer on May 25, 2026 at 2:23 pm

    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:

    if(UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
    //UIAlertView this app will not run on iPad
    }
    

    and than in the UIAlertView Delegate:

    exit();
    

    This will cause the app to not run on the iPad.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This may seem like a dumb question, but can an app build with c#
When I build app with Xcode 3.2.3 (iPhone SDK 4), following image was showed
How to build Sandboxed app without XCode? I mean I'm using gcc Make to
I used Unity iPhone(1.7) to build an app and brought it into Xcode (3.2.3).
Whenever I try to build my iPhone app in Xcode 3.2.1 I get an
When I install an ad hoc build of my ipad app, I notice that
I have recently created a Universal App in Xcode 4 to build my new
When i build my app in Xcode I got the warning below which prohibits
I want to build app for iPhone 2 (iOS version upto 3.xxx) in XCode
I'm trying to build a release version of my iPhone app in Xcode 4

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.