Contents

SCPreferencesRemoveValue(_:_:)

Removes the data associated with the specified preference key.

Declaration

func SCPreferencesRemoveValue(_ prefs: SCPreferences, _ key: CFString) -> Bool

Parameters

  • prefs:

    The preferences session.

  • key:

    The preference key.

Return Value

TRUE if the value was removed; FALSE if the key does not exist or if an error occurred.

See Also

Adding, Getting, and Removing Values