Gold field
Apple has always been a model of user experience, and this time in the UI, it is the ultimate. This release of iOS 9 fully supports the right-to-left language environment for writing and reading in Arabic, Hebrew, and so on. Rather than simply basic text, it supports flipping the interface to provide a native right-to-left experience, and enables seamless switching from left to right and right-to-left, allowing applications to become fully bi-directional programs.
Here are two reading directions:
Figure 1 Left-to-right (Intercept from WWDC demo document)
Figure 2 Right-to-left (intercept from WWDC demo document)
Common Controls Right-to-left support configuration
As mentioned earlier, IOS 9 support for Right-to-left is more than just simple text, referring to the effect of the table view, indicating that the diagram related to the gesture and its related animation will be the corresponding reversal direction, as well as the navigation controller, slider and other related things will do the corresponding experience to adapt, It really did. The perfect support for an international user interface experience, which is what Apple is doing with its heart.
Introduction to Simple implementation methods
To achieve seamless support for two different layouts Apple has provided a very simple method, only need to adjust the configuration to the appropriate, from the import right-to-left language translation we can see the effect.
We all know that in the scheme in Xcode application Language settings We generally choose the system Language by default, so the selection is OK, but we are not introducing the translation of the corresponding language, We will select the last Right-to-left pseudolanguage in the drop-down menu, and use auto layout to solve the adaptation problem after the interface inversion. We'll be able to implement the entire reversal of the Right-to-left interface.
All rights reserved, reprint must indicate the author (Jintian) and original source (original)
IOS 9 New UIKit for international User Interfaces