JXCategoryView 适配阿拉伯语
2024-05-10 本文已影响0人
XieHenry
使用时发现打开页面是白屏,需要在JXPagerListContainerView.m的第190行下面加上下面这句话
if ([UIView userInterfaceLayoutDirectionForSemanticContentAttribute:UIView.appearance.semanticContentAttribute] == UIUserInterfaceLayoutDirectionRightToLeft) {
_scrollView.semanticContentAttribute = UISemanticContentAttributeForceLeftToRight;
}