How do you determine (programmatically) if an iPhone/iPod is:
Pinch Media can det
Here is one of the ways to detect if your app was cracked.
In short: the cracking usually requires changing the Info.plist. Since it's regular file you have access to, it's pretty easy to determine such changes.