userInterfaceLayoutDirectionForSemanticContentAttribute static method
UIUserInterfaceLayoutDirection
userInterfaceLayoutDirectionForSemanticContentAttribute(
- UISemanticContentAttribute attribute
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);
}