목표 c 아랍어에 대한 자동 레이아웃 현지화 동작 비활성화 (Objective c Disable Autolayout Localization Behavior for Arabic)


문제 설명

목표 c 아랍어에 대한 자동 레이아웃 현지화 동작 비활성화 (Objective c Disable Autolayout Localization Behavior for Arabic)

뷰에 자동 레이아웃을 사용하지 않는 코드가 있고 Obj‑C로 작성되었습니다.

뷰를 있는 그대로 유지하고 싶습니다(왼쪽에서 right) 가 아랍어로 전환될 때.

자동 레이아웃 제약 조건(언어 방향 준수 여부), 하지만 자동 레이아웃 제약 조건을 사용하지 않고 회전하는 기능을 비활성화하려는 경우 아랍어 버전에 대한 내 앱 RTL 방향은 무엇입니까?

도움을 주셔서 감사합니다.


참조 솔루션

방법 1:

You can force your UIView's direction by using UISemanticContentAttribute

i.e, to force Right to left direction, apply

[myView setSemanticContentAttribute:UISemanticContentAttributeForceRightToLeft];

On your view.

(by GraceShai)

참조 문서

  1. Objective c Disable Autolayout Localization Behavior for Arabic (CC BY‑SA 2.5/3.0/4.0)

#arabic #XCode #objective-c #right-to-left






관련 질문

android 앱에서 아랍어 글꼴을 올바르게 렌더링하는 데 문제가 있습니다. (having trouble with arabic font rendering correctly android app)

목표 c 아랍어에 대한 자동 레이아웃 현지화 동작 비활성화 (Objective c Disable Autolayout Localization Behavior for Arabic)

HTML 페이지에서 아랍어를 지원하는 방법은 무엇입니까? (how to support Arabic language in html page?)

Codeblocks를 사용하여 C++에서 아랍어 문자열을 어떻게 작성할 수 있습니까? (How can i write arabic string in C++ using Codeblocks?)

AttributeError: 'WordNetCorpusReader' 개체에 'get_synsets_from_word' 속성이 없습니다. (AttributeError: 'WordNetCorpusReader' object has no attribute 'get_synsets_from_word')

아랍어 NSString은 Xcode 디버거와 로그 간에 다른 문자 순서를 보여줍니다. (Arabic NSString shows different letter order between Xcode debugger and log)

혼합 스크립트를 사용하여 pango에서 단어 줄 바꿈 (Word wrapping in pango with mixed scripts)

개체 배열을 설정하는 동안 FindBug 오류 '변경 가능한 개체에 대한 참조를 통합하여 내부 표현을 노출할 수 있음'을 수정하는 방법은 무엇입니까? (How to Fix FindBug error 'May expose internal representation by incorporating reference to mutable object' while setting Array of Objects?)

텍스트 모드(pdu 아님)에서 at-command로 아랍어 SMS를 보내는 방법 (how to send arabic sms with at-command in text mode (not pdu))

Flash CS5 Professional V11.0에서 모양을 선택 및 편집하고 아랍어 문자를 사용하는 방법은 무엇입니까? (How to select and edit a shape and use Arabic Characters in Flash CS5 Professional V11.0?)

StanfordCoreNLP 파이프라인 원시 텍스트와 토큰 목록을 입력으로 제공하는 방법이 있습니까? (Is there a way to give a StanfordCoreNLP pipeline raw text and a list of tokens as input?)

Python에서 아랍어 텍스트를 숫자로 변환하는 방법 (How to convert Arabic text to number in Python)







코멘트