22 lines
442 B
Objective-C
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
|