shouldAutorotateToInterfaceOrientation method

bool shouldAutorotateToInterfaceOrientation(
  1. UIInterfaceOrientation toInterfaceOrientation
)

shouldAutorotateToInterfaceOrientation:

Implementation

bool shouldAutorotateToInterfaceOrientation(UIInterfaceOrientation toInterfaceOrientation) {
  objc.checkOsVersionInternal('UIViewController.shouldAutorotateToInterfaceOrientation:', iOS: (false, (2, 0, 0)));
  return _objc_msgSend_1p4s9xc(
    this.ref.pointer,
    _sel_shouldAutorotateToInterfaceOrientation_,
    toInterfaceOrientation.value,
  );
}