SandboxDetector
public class SandboxDetector : JailbreakDetector
SandboxDetector is a JailbreakDetector class, and is used as one of default JailbreakDetector’s detectors to determine whether the device is Jailbroken or not
-
Initializes SandboxDetector instance
Declaration
Swift
public init()
-
Analyzes whether the device has an access to special system method on non-jailbroken devices
Declaration
Swift
public func analyze() -> Double
Return Value
returns 1.0 when the device can successfully use fork() and return pid; otherwise returns 0.0