Is there a way to know whether device is Jailbroken

Is there a way to know whether device is Jailbroken? I am working on feature which needs more security. I know we can't access appstore from Jailborken device. Is there a way to sideload the IPA file in JailBroken device . If yes, is there a way to know whether device is Jailbroken so that we can restrict the user to use the app?

Replies

There is no reliable detection method, and, we're discouraged from discussing details of specific j'broken schemes here.

See this other thread and the Apple specialist answer. No way.


quate: "There is not. Consider that even if there was, the device has already been jailbroken, meaning arbitrary code execution is possible, and the jailbreaker would just modify whatever method of detection you would use to signal that the device has not been jailbroken."


https://forums.developer.apple.com/message/125071#125071