UIScrollView: contentInset should be available to use leading/trailing instead of left/right

Originator:rpitting1
Number:rdar://27675865 Date Originated:2016-08-03
Status:Open Resolved:No
Product:iOS Product Version:9.3.3
Classification:UIKit Reproducible:Always
 
Area:
UIKit

Summary:
To specify the contents distance of a UIScrollView to its margin, it should be possible to use leading/trailing for contentInset, which would automatically respect Right-To-Left languages.

Steps to Reproduce:
1. Set the right property of contentInset of a UIScrollView to a non-zero value
2. Start the app for example with Arabic as system language.

Expected Results:
The value should follow the reading-direction.

Actual Results:
The scrollView uses left/right values ignoring the users language. A manual check is always required.

Version:
iOS 9.3.3

Notes:


Configuration:
iPhone/iPad

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!