问题描述
我刚刚发布了适用于 iOS 的应用程序,但我不确定如何使我的应用程序免受越狱者的使用.
I have just released my app for iOS, but I'm not sure how to make my app safe from being used by jailbrakers.
我能做些什么来阻止我的应用在越狱设备上运行吗?
Can I do something to prevent my app working on jailbroken devices?
推荐答案
您可以通过代码检测应用程序是否在越狱设备上运行.通过这种方式,您可以弹出警报并关闭应用程序.你可以做任何你想做的事.这是它的教程:
You can detect through code that if the app is running on a jail broken device or not. Through that way you can pop up an alert and close the app. You can do whatever you want to do. Here is a tutorial for it:
http://thwart-ipa-cracks.blogspot.com/2008/11/detection.html
这里是 Stack Overflow 上的帖子:
and here is a Stack Overflow post:
另外,如果你想要一个完整的解决方案,你可以在tapjoy sdk代码中看到.他们正在检测越狱的 iPhone.这是 Tapjoy 网址 https://www.tapjoy.com/
Also, if you want a complete solution, you can see in tapjoy sdk code. They are detecting jailbroken iPhone. Here is tapjoy URL https://www.tapjoy.com/
这篇关于如何检测应用程序正在越狱设备上运行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!