removeUserDecision(_:)
Removes an existing user decision.
Declaration
final func removeUserDecision(_ decision: CNDecision) -> BoolParameters
- decision:
The user decision added to the script or one made at recording time by tapping on the script.
Return Value
A flag indicating whether the user decisions was removed.
Discussion
You can’t remove decisions that aren’t user decisions.