How do I detect that an iOS app is running on a jailbroken phone?

后端 未结 17 1334
情书的邮戳
情书的邮戳 2020-11-22 10:48

If I want my app to behave differently on a jailbroken iPhone, how would I go about determining this?

17条回答
  •  醉酒成梦
    2020-11-22 11:42

    I'd suggest looking for files that aren't present on a "vanilla" iPhone. All jailbreak kits I've seen install ssh. That might be a good indicator of a jailbroken phone.

提交回复
热议问题