Possible Duplicate:
How do I detect that an SDK app is running on a jailbroken phone?
I see there are many ways to detect which device is jailbroken in xcode. How do I detect that an iOS app is running on a jailbroken phone?
I'm undestanding that: I don't want jailbroken device access to my app, so I put my detection code to my project, so all jailbroken device can't use it.
But a lot of paid app can install in jailbroken device (Angry Bird, Fruit Ninja...). Do I missunderstand, or there are some special reason so they don't do this (they want their app is popular...), or before app can be installed in jailbroken device, code of this app can be changed a little (I don't think so)?
Beside this, I see a lot of answer for question "How to detect that device is jailbroken" in this link above. I've found this: http://www.interiders.com/2011/10/26/enable-directv-to-work-on-jailbroken-ipad/
So, what is the best solution for detecting jailbroken device?