Determining if an iPhone is Jail broken Programmatically
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.