Cancels the sending of a previously scheduled message.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
The previously-specified selector.
The previously-specified target.
The previously-specified argument.
You can use this method to cancel a message previously scheduled using the
perform(_: method. The parameters identify the message you want to cancel and must match those originally specified when the selector was scheduled. This method removes the perform request from all modes of the run loop.