I can exit apps a few valid ways
system("killall SpringBoard");
close(0);
But I want to force the app to exit when i detect its been pirated. Its very easy and possibly even automated to remove commands like this with the cracking tools. If I caused the app to exit via a crash from the invalid selector error would it cause the app to fail the review process from Apple?
开发者_如何学编程Obviously it wont crash during testing if I implement the crack protection properly.
Many Thanks, Code
If you correctly put the pirating detection in, Apple won't even notice that there is anything different about your app when you submit it for review. Maybe instead of crashing your app you would like you show an alert view that says "Your device is jailbroken. You cannot use this app until you restore your device with iTunes."?
精彩评论