willAnimateFirstHalfOfRotationToInterfaceOrientation method

void willAnimateFirstHalfOfRotationToInterfaceOrientation(
  1. UIInterfaceOrientation toInterfaceOrientation, {
  2. required double duration,
})

willAnimateFirstHalfOfRotationToInterfaceOrientation:duration:

Implementation

void willAnimateFirstHalfOfRotationToInterfaceOrientation(
  UIInterfaceOrientation toInterfaceOrientation, {
  required double duration,
}) {
  objc.checkOsVersionInternal(
    'UIViewController.willAnimateFirstHalfOfRotationToInterfaceOrientation:duration:',
    iOS: (false, (2, 0, 0)),
  );
  _objc_msgSend_vscdhh(
    this.ref.pointer,
    _sel_willAnimateFirstHalfOfRotationToInterfaceOrientation_duration_,
    toInterfaceOrientation.value,
    duration,
  );
}