Latest 0.1.0
Homepage https://github.com/fg0815/FGJailbreakDetector
License MIT
Platforms ios 8.0, requires ARC
Authors

Detect if the device has been jailbroken by using the 3 ways

  • Check if Cydia is existed
  • Check if your application is running from inside a restricted sandbox
  • Using the lstat function to check if ‘/Applications’ folder is actually a directory or just a symbolic link. A symbolic link means the device has been jailbroken.

Simulator will return NO.

How to Use

Simply import "FGJailbreakDetector.h", then [FGJailbreakDetector hasJailbroken] will return YES if device has been jailbroken otherwise, NO.

Latest podspec

{
    "name": "FGJailbreakDetector",
    "version": "0.1.0",
    "summary": "Detect if the device is jailbroken",
    "description": "Using 3 ways to detect if the device is jailbroken",
    "homepage": "https://github.com/fg0815/FGJailbreakDetector",
    "license": "MIT",
    "authors": {
        "Feng Guo": "[email protected]"
    },
    "source": {
        "git": "https://github.com/fg0815/FGJailbreakDetector.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "FGJailbreakDetector/FGJailbreakDetector/*.{h,m}"
}

Pin It on Pinterest

Share This