Getting serial number of ipad programmatically

Discussion in 'iPad' started by atulgaur, Sep 27, 2011.

  1. atulgaur macrumors newbie

    Sep 27, 2011
    i want my application to run only on a specified ipad.
    How can i identify the particular ipad?

    I found that every ipad has its own serial number.

    Is it possible to get the ipad serial programmatically and allow it to run the application?
  2. thewitt macrumors 68020


    Sep 13, 2011
    What you want is called the UDID however the call to return this has been deprecated and Apple may remove it if we all don't complain...

  3. Comeagain? macrumors 68020


    Feb 17, 2011
    Spokane, WA
    Can I ask why you want to limit it like that?
  4. psonice macrumors 6502a

    Jul 22, 2005
    You're asking the wrong question. An app that only runs on a single device won't be allowed on the app store, and if it's not authorised by apple for the store the iPad won't be able to run it.

    What you should be asking I think is this:

    How do I use Ad Hoc distribution, and digitally sign my app for use on a specific device?

    Ask the user for the UDID number (easiest is to use one of the many apps that email it automatically). Then create a provisioning profile specifically for that device, and sign your app with it. Give the app and the profile to the user, and you're done.

Share This Page