Files
peko-ios/YuMi/CustomUI/MSRTL/MSBaseRTLFlowLayout.m
2024-04-11 17:05:27 +08:00

22 lines
442 B
Objective-C

//
// MSBaseRTLFlowLayout.m
// YuMi
//
// Created by duoban on 2024/4/11.
//
#import "MSBaseRTLFlowLayout.h"
@implementation MSBaseRTLFlowLayout
- (UIUserInterfaceLayoutDirection)effectiveUserInterfaceLayoutDirection {
if (isMSRTL()) {
return UIUserInterfaceLayoutDirectionRightToLeft;
}
return UIUserInterfaceLayoutDirectionLeftToRight;
}
- (BOOL)flipsHorizontallyInOppositeLayoutDirection{
return YES;
}
@end