Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 12-30-2009, 03:59 PM   #27 (permalink)
Shmoopi
Shmoopi LLC
 
Shmoopi's Avatar
 
Join Date: Jun 2009
Location: Virginia
Posts: 213
Shmoopi is on a distinguished road
Default

Quote:
Originally Posted by FerrariX View Post
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!
Shmoopi is offline   Reply With Quote
 

» Advertisements
» Online Users: 665
18 members and 647 guests
ADY, BdR, Duncan C, esoteric, givensur, gmarro, iAppDeveloper, jimmymacapps, krisk, mer10, mraalex, pipposanta, renesteg, sacha1996, Sami Gh, Steve Shanks, Xaphann, Yoshkow
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,422
Threads: 94,019
Posts: 402,546
Top Poster: BrianSlick (7,978)
Welcome to our newest member, iAppDeveloper
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:34 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.