Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

atulgaur

macrumors newbie
Original poster
Sep 27, 2011
2
0
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?
 
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...

-t
 
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.