transitionFromViewController method
void
transitionFromViewController(
- UIViewController fromViewController, {
- required UIViewController toViewController,
- required double duration,
- required UIViewAnimationOptions options,
- ObjCBlock<
Void Function()> ? animations, - ObjCBlock<
Void Function(Bool)> ? completion,
transitionFromViewController:toViewController:duration:options:animations:completion:
Implementation
void transitionFromViewController(
UIViewController fromViewController, {
required UIViewController toViewController,
required double duration,
required UIViewAnimationOptions options,
objc.ObjCBlock<ffi.Void Function()>? animations,
objc.ObjCBlock<ffi.Void Function(ffi.Bool)>? completion,
}) {
objc.checkOsVersionInternal(
'UIViewController.transitionFromViewController:toViewController:duration:options:animations:completion:',
iOS: (false, (5, 0, 0)),
);
_objc_msgSend_2fdtmz(
this.ref.pointer,
_sel_transitionFromViewController_toViewController_duration_options_animations_completion_,
fromViewController.ref.pointer,
toViewController.ref.pointer,
duration,
options.value,
animations?.ref.pointer ?? ffi.nullptr,
completion?.ref.pointer ?? ffi.nullptr,
);
}