Presents another view controller using a specified, custom animator for presentation and dismissal.
- macOS 10.10+
The other view controller to present from the view controller.
The animation delegate to employ for presentation and dismissal of the other view controller. The animator that you specify is retained until the
dismissmethod is called and the dismissal animation completes.
Do not call this method unless you want to use a custom animator. To use one of the standard animators to present another view controller, instead call one of the dedicated presentation methods:
Each of these methods calls this method in turn. User interaction is blocked during presentation and dismissal.