performSystemAnimation static method
void
performSystemAnimation(
- UISystemAnimation animation, {
- required NSArray onViews,
- required UIViewAnimationOptions options,
- ObjCBlock<
Void Function()> ? animations, - ObjCBlock<
Void Function(Bool)> ? completion,
performSystemAnimation:onViews:options:animations:completion:
Implementation
static void performSystemAnimation(
UISystemAnimation animation, {
required objc.NSArray onViews,
required UIViewAnimationOptions options,
objc.ObjCBlock<ffi.Void Function()>? animations,
objc.ObjCBlock<ffi.Void Function(ffi.Bool)>? completion,
}) {
objc.checkOsVersionInternal(
'UIView.performSystemAnimation:onViews:options:animations:completion:',
iOS: (false, (7, 0, 0)),
);
_objc_msgSend_fqrtz5(
_class_UIView,
_sel_performSystemAnimation_onViews_options_animations_completion_,
animation.value,
onViews.ref.pointer,
options.value,
animations?.ref.pointer ?? ffi.nullptr,
completion?.ref.pointer ?? ffi.nullptr,
);
}