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