It depends what you mean by jailbreak. In the simple case, you should be able to see if Cydia is installed and go by that - something like
NSString *filePath = @"/Applications/Cydia.app";
if ([[NSFileManager defaultManager] fileExistsAtPath:filePath])
{
// do something useful
}
For hacked kernels, it's a little (lot) more involved.
本文详细介绍了如何通过简单的步骤检查设备是否已越狱,并提供了修改hacked kernels的指导方法。

被折叠的 条评论
为什么被折叠?



