Upravit

Sdílet prostřednictvím


UIApplication.ProtectedDataAvailable Property

Definition

Whether content protection is available.

public virtual bool ProtectedDataAvailable { [Foundation.Export("isProtectedDataAvailable")] get; }
member this.ProtectedDataAvailable : bool

Property Value

true if data protection is enabled and the device is locked. Otherwise, false.

Attributes

Remarks

If this method returns false, the application will not be allowed to read or write files whose FileProtectionKey is FileProtectionComplete or FileProtectionCompleteUnlessOpen.

Applies to

See also