如何查看是否越狱?最简单的方法就是查看你设备上是否多了越狱的目录。下面是代码。
detectDevice.h
detectDevice.m
然后在你代码中调用[UIDevice currentDevice] isJailbroken], 如果返回YES说明被破解了,为NO,则没被破解。
如何查看是否越狱?最简单的方法就是查看你设备上是否多了越狱的目录。下面是代码。
detectDevice.h
detectDevice.m
然后在你代码中调用[UIDevice currentDevice] isJailbroken], 如果返回YES说明被破解了,为NO,则没被破解。