Dismiss the picker.
- iOS 8.0+
- Mac Catalyst 13.0+
YESto animate the dismissal of the picker or
NOto remove it without animations.
This method dismisses a picker that you previously presented. When using this method to dismiss a picker, the picker does not call the
printer methods of your delegate object.
User interactions with the picker can also dismiss the picker automatically. For example, if the user selects a printer or cancels the picker, the picker dismisses itself automatically. Use this method to dismiss a picker programmatically in response to other events in your app.