safeAreaLayoutGuide is not accessible from visual format language
Originator: | pirat267 | ||
Number: | rdar://34933127 | Date Originated: | October 11 2017 |
Status: | Open | Resolved: | Not yet |
Product: | UIKit | Product Version: | 11.1 |
Classification: | Suggestion | Reproducible: |
safeAreaLayoutGuide is currently only available via the UILayoutAnchor API introduced in iOS 9. Apps that are also supporting iOS versions prior to iOS 9 often use the visual format language because it's very expressive. Unfortunately it's not possible to use the safeArea API there. I would like to see any possibility that changes this like adding a new symbol that represents the safeArea anchor instead of the superviews anchor. It could be an addition to | like <| for trailing/bottom-anchors.
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!