RestrictedDirectoriesWritableDetector

@MainActor
public class RestrictedDirectoriesWritableDetector : TamperDetectorProtocol

RestrictedDirectoriesWritableDetector 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 app can write to restricted directories

    Declaration

    Swift

    @MainActor
    public func analyze() -> Double

    Return Value

    returns 1.0 if the app has write access to restricted directories; otherwise returns 0.0