Is there RTL support in iPhone Application (Stoary

2019-06-01 05:43发布

This question already has an answer here:

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

2条回答
Viruses.
2楼-- · 2019-06-01 05:49

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

查看更多
该账号已被封号
3楼-- · 2019-06-01 06:00

Alternatively, if you can view a language in a browser on the iphone you can try using a technology like phonegap.

查看更多
登录 后发表回答