CydiaSubstrateDetector

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

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

  • Initializes CydiaSubstrateDetector instance

    Declaration

    Swift

    public init()
  • Analyzes whether MobileSubstrate is found or accessible or not

    Note

    MobileSubstrate (or Cydia Substrate) is known as the de fecto framework that allows 3rd-party developers to provide run-time patches through MobileSubstrate to system

    Declaration

    Swift

    public func analyze() -> Double

    Return Value

    returns 1.0 if MobileSubstrate is found or accessible; otherwise returns 0.0