supportedInterfaceOrientationsForWindow method

UIInterfaceOrientationMask supportedInterfaceOrientationsForWindow(
  1. UIWindow? window
)

supportedInterfaceOrientationsForWindow:

Implementation

UIInterfaceOrientationMask supportedInterfaceOrientationsForWindow(UIWindow? window) {
  objc.checkOsVersionInternal('UIApplication.supportedInterfaceOrientationsForWindow:', iOS: (false, (6, 0, 0)));
  final _ret = _objc_msgSend_1369ey(
    this.ref.pointer,
    _sel_supportedInterfaceOrientationsForWindow_,
    window?.ref.pointer ?? ffi.nullptr,
  );
  return UIInterfaceOrientationMask.fromValue(_ret);
}