Creates an action that idles for a specified period of time.
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
The amount of time to wait.
A new action object.
When the action executes, the action waits for the specified amount of time and then ends. This is typically used as part of a sequence of actions to insert a delay between two other actions. You might also use it in conjunction with the
run method to trigger code that needs to run at a later time.
This action is not reversible; the reverse of this action is the same action.