Attempts to set the value of a given property of the receiver and returns a Boolean value that indicates whether the value is accepted by the receiver.
- iOS 2.0+
- macOS 10.3+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
The value for
The key for one of the receiver's properties. See Constants for a description of the available property-key constants and expected values.
true if the value is accepted by the receiver, otherwise