userInterfaceLayoutDirectionForSemanticContentAttribute static method

UIUserInterfaceLayoutDirection userInterfaceLayoutDirectionForSemanticContentAttribute(
  1. UISemanticContentAttribute attribute
)
override

userInterfaceLayoutDirectionForSemanticContentAttribute:

Implementation

static UIUserInterfaceLayoutDirection userInterfaceLayoutDirectionForSemanticContentAttribute(
  UISemanticContentAttribute attribute,
) {
  objc.checkOsVersionInternal(
    'UIWindow.userInterfaceLayoutDirectionForSemanticContentAttribute:',
    iOS: (false, (9, 0, 0)),
  );
  final _ret = _objc_msgSend_racczx(
    _class_UIWindow,
    _sel_userInterfaceLayoutDirectionForSemanticContentAttribute_,
    attribute.value,
  );
  return UIUserInterfaceLayoutDirection.fromValue(_ret);
}