简体   繁体   中英

RTL in iOS 9.2 issue

My following code was working for iOS 9.0 and iOS 9.1 but when I upgrade to 9.2 it is not working well.For support of older version, I am using CGAffineTransform.

if(SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(@"9.0"))
 {
   [[UIView appearance]setSemanticContentAttribute:UISemanticContentAttributeForceLeftToRight];
 }

Why this one is not working

Please don't do this. You're not supposed to set the semanticContentAttribute on UIAppearance proxies.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM