btn.semanticContentAttribute = .forceRightToLeft
查了下資料
semanticContentAttribute 是反轉 ,即描述視圖的內容,用來確定視圖之間切換時應翻轉從左到右和從右到左的布局
最低支持到9.0
參考鏈接:https://www.jianshu.com/p/c4a6b236e8e3
btn.semanticContentAttribute = .forceRightToLeft
查了下資料
semanticContentAttribute 是反轉 ,即描述視圖的內容,用來確定視圖之間切換時應翻轉從左到右和從右到左的布局
最低支持到9.0
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。