27842

Pure Layout supporting right to left

Question:

Does iOS pure Layout support right-to-left languages? How can we implement it in the code for the arabic language without the need to go to setting and select the region and format language

Thanks

Answer1:

You can test in right-to-left layouts by selecting your app scheme in Xcode -> Edit Scheme... -> 'Run' -> 'Options' tab -> Application Language -> Right-to-Left pseudo language.

It is highly recommended that you use Auto Layout to specify your layouts in your views, and most of the work will be done for you if you run the app in these languages.

For more info, <a href="https://developer.apple.com/library/prerelease/ios/documentation/MacOSX/Conceptual/BPInternational/SupportingRight-To-LeftLanguages/SupportingRight-To-LeftLanguages.html" rel="nofollow">Supporting Right-to-Left Languages</a> is a great starter.

Recommend

  • Enabling or disabling validation upon context
  • Python How to force object instantiation via Context Manager?
  • Monotouch - Issue with QLPreviewController
  • How do you edit a Binary Mainframe file in the RecordEditor using a Cobol Copybook (pt1)
  • Set cookie from Web Api 2 IAuthenticationFilter AuthenticateAsync method
  • QObject::findChild() returns None without obvious reason
  • Listen to the 'change' even of an element in the shadow DOM
  • Notepad++ - delete all lines with certain text
  • How can I get the maximum number of OpenMP threads that may be created during the whole execution of
  • Laravel 5.2 Auth::check() on exception pages (layouts)
  • How to merge two Request in Laravel
  • Open an application in a space using applescripts
  • It is possible use the same sql azure instance from two different cloud service of two different sub
  • change color of jstree node
  • Does Apportable support to build library binary (.a/.so)?
  • ViewController With Transparent Background Entering Current ViewController With Push Transition
  • WPF - CanExecute dosn't fire when raising Commands from a UserControl
  • Display issues when we change from one jquery mobile page to another in firefox
  • Deselecting radio buttons while keeping the View Model in synch
  • req.body is undefined - nodejs
  • swift auto completion not working in Xcode6-Beta
  • JSON with duplicate key names losing information when parsed
  • 'TypeError' while using NSGA2 to solve Multi-objective prob. from pyopt-sparse in OpenMDAO
  • Symfony2: How to get request parameter
  • Font Awesome Showing Box instead of Icons
  • ORA-29908: missing primary invocation for ancillary operator
  • Jquery - Jquery Wysiwyg return html as a string
  • How to get next/previous record number?
  • Properly structure and highlight a GtkPopoverMenu using PyGObject
  • Akka Routing: Reply's send to router ends up as dead letters
  • Is there a mandatory requirement to switch app.yaml?
  • How get height of the a view with gone visibility and height defined as wrap_content in xml?
  • How do you join a server to an Active Directory (domain)?
  • -fvisibility=hidden not passed by compiler for Debug builds
  • FormattedException instead of throw new Exception(string.Format(…)) in .NET
  • How does Linux kernel interrupt the application?
  • Linking SubReports Without LinkChild/LinkMaster
  • Is it possible to post an object from jquery to bottle.py?
  • XCode 8, some methods disappeared ? ex: layoutAttributesClass() -> AnyClass
  • Python/Django TangoWithDjango Models and Databases