We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0babcc9 commit 449a539Copy full SHA for 449a539
TOCropViewController/Views/TOCropToolbar.m
@@ -62,7 +62,7 @@ - (void)setup {
62
_rotateClockwiseButtonHidden = YES;
63
64
// On iOS 9, we can use the new layout features to determine whether we're in an 'Arabic' style language mode
65
- if ([UIView resolveClassMethod:@selector(userInterfaceLayoutDirectionForSemanticContentAttribute:)]) {
+ if (@available(iOS 9.0, *)) {
66
self.reverseContentLayout = ([UIView userInterfaceLayoutDirectionForSemanticContentAttribute:self.semanticContentAttribute] == UIUserInterfaceLayoutDirectionRightToLeft);
67
}
68
else {
0 commit comments