Quote:
Originally Posted by FerrariX
Hi Shmoopi,
thanks for your reply,
can I place your is_encrypted{} method somewhere else like the viewDidLoad?
or it absolutely has to be in the int main{}?
if it has to be in int main{}, would it close out if your is_encrypted{} returns a no?
in other words, I'd like to display an UIAlertView that "This App has been modified" then close the app out after one minute.
How caan I pass/receive the output of is_encrypted{} to the rest of my app?
Thanks again for sharing this great information,
-FerrariX
|
No, your encryption check can go anywhere you like, not just the main file. It doesn't close your app if the is_encrypted{} returns no, the space after return no was purposefully left blank to allow you to put whatever code you wanted there. If you did put the encryption check in the main file, you could return a *Pirated check to NSUserDefaults where upon viewDidLoad your AppDelegate could check to see if it's pirated. No problem

Thanks for asking!