AptDetector

@available(*, deprecated, message: "Use SuspiciousFilesExistenceDetector and SuspiciousFilesAccessibleDetector instead")
public class AptDetector : JailbreakDetector

AptDetector is a JailbreakDetector class, and is used as one of default JailbreakDetector’s detectors to determine whether the device is Jailbroken or not

  • Initializes AptDetector instance

    Declaration

    Swift

    public init()
  • Analyzes whether apt is accessible or not

    Declaration

    Swift

    public func analyze() -> Double

    Return Value

    returns 1.0 if apt is accessible; otherwise returns 0.0