setUserDefault
Set the value of key
in NSUserDefaults
.
Note that type
should match actual type of value
. An exception is thrown if they don't.
Some popular key
and type
s are:
ApplePressAndHoldEnabled
:boolean
Set the value of key
in NSUserDefaults
.
Note that type
should match actual type of value
. An exception is thrown if they don't.
Some popular key
and type
s are:
ApplePressAndHoldEnabled
: boolean