tvOS: SemanticContentAttribute forceRightToLeft is ignored UIStackViews

Originator:dcorderoramirez
Number:rdar://31138095 Date Originated:19-Mar-2017 11:54 PM
Status:Resolved Resolved:tvOS 11 beta 2 (15J5310e)
Product:tvOS + SDK Product Version:10.1
Classification: Reproducible:Always
 
Area:
tvOS SDK

Summary:
Setting the value `forceRightToLeft` to the property `semanticContentAttribute` in an instance of UIStackView in tvOS does not have any effect. The views are anyway added from left to right.

Steps to Reproduce:
In this repo https://github.com/dcordero/Radar-31138095 you can find two projects with exactly the same piece of code. One of them running in iOS and the other one in tvOS.

In iOS, the views are added from right to left to the stack view, but in tvOS, on the other hand, they are added from left to right.


Expected Results:
The views are added from right to left, as documented

Actual Results:
The views are added from left to right regardless of the value assigned to semanticContentAttribute

Version:
tvOS 10.1

Notes:


Configuration:
AppleTv 4th Generation

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!