DeviceComplianceChecker
@available(iOSApplicationExtension, unavailable)
public class DeviceComplianceChecker
APIs to detect if device is compromised
-
performs various security checks and identifies whether the underlying device is compromised or not.
Declaration
Swift
public static func isDeviceCompromised() -> Bool
Return Value
true
if one or more violations were detected in the device, elsefalse
. This method will always returnfalse
when executed in a simulator or macCatalyst.