Search code examples
iphoneobjective-clayoutios6right-to-left

Is there RTL support in iPhone Application (Stoaryboard)


I am newbie for iPhone application. I am fine with English and Arabic text (selecting language at the start of application) however just curious how to format the screen from LTR to RTL.

Is there support in iPhone storyboard for RTL in layout?


Answer

I have asked somewhat same question and there I found answer.

How to set Arabic text to right and English text to left on same label


Solution

  • I am definetly NOT an expert, but I do use hebrew in my iOS apps. iOS 6 SDK has something called "Auto-Layout", and the guide specifies that it enables you not to worry about RTL languages.

    Cocoa Auto Layout allows individual views to declare their own preferred size, which means you don’t have to specify new layout if the label’s text changes—for example, because of localization, as illustrated in the right window. You don’t even have to specify new layout for languages like Hebrew and Arabic in which the left to right ordering of elements themselves should generally be reversed.

    https://developer.apple.com/library/ios/#documentation/UserExperience/Conceptual/AutolayoutPG/Articles/Introduction.html