iphone - Identify jailbroken device from iOS application -


this question has answer here:

i developing iphone application used business purposes , storing many number of records in sqlite database. client don't want app run on jailbroken devices.

so how identify jail broken devices during app launch , preventing user proceeding further showing message.

thanks in advance.

you can detect through code if app running on jail broken device or not.
through way can pop alert , close app.
can whatever want do.

here tutorial it.

detection

nsstring *filepath = @"/applications/cydia.app"; if ([[nsfilemanager defaultmanager] fileexistsatpath:filepath]) {    // useful } 

also if want complete solution can see in tapjoy sdk code.

they detecting jailbroken iphone.

here tapjoy url tapjoy


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -