NSUserDefaults.Synchronize Method

Definition

Writes any changes to the persistence domains to disk and updates all unmodified persistent domains with what is on disk.

[Foundation.Export("synchronize")]
public virtual bool Synchronize ();
abstract member Synchronize : unit -> bool
override this.Synchronize : unit -> bool

Returns

Returns true on sucess, false on failure.

Attributes

Remarks

Applies to