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

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

问题描述

我刚刚发布了我的iOS应用程序,但我不确定如何让我的应用程序安全不被jailbrakers使用。

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 post:

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天全站免登陆