阿拉伯语适配
This commit is contained in:
@@ -145,6 +145,11 @@
|
||||
_pi_BannerView.bannerImageViewContentMode = UIViewContentModeScaleAspectFill;
|
||||
_pi_BannerView.tag = 9000001;
|
||||
_pi_BannerView.hidden = YES;
|
||||
// SDCycleScrollView没有适配阿语,在RTL下会乱滚,都用LTR算了
|
||||
_pi_BannerView.semanticContentAttribute = UISemanticContentAttributeForceLeftToRight;
|
||||
for (UIView *subView in _pi_BannerView.subviews) {
|
||||
subView.semanticContentAttribute = UISemanticContentAttributeForceLeftToRight;
|
||||
}
|
||||
}
|
||||
return _pi_BannerView;
|
||||
}
|
||||
|
Reference in New Issue
Block a user