如何检测应用程序正在越狱设备上运行? [英] How to detect that the app is running on a jailbroken device?

查看:20
本文介绍了如何检测应用程序正在越狱设备上运行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚发布了适用于 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:

如何我如何检测到 iOS 应用正在越狱手机上运行?

另外,如果你想要一个完整的解决方案,你可以在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/

这篇关于如何检测应用程序正在越狱设备上运行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆