UI Dynamics frameworks offers no support for Auto Layout

Originator:joshavant
Number:rdar://23383754 Date Originated:03-Nov-2015 03:33 PM
Status:Open Resolved:
Product:iOS SDK Product Version:iOS 9.0
Classification:UI/Usability Reproducible:Always
 
Summary:
The developer community is broadly encouraged to adopt Auto Layout, yet some new features - like UI Dynamics - don't support these technologies.

In order to make UI Dynamics to work with Auto Layout, one needs to implement workaround solutions, like creating a 'DynamicHub' as described in the following approach:
https://www.invasivecode.com/weblog/uikit-dynamics-layer-constraint/

There should be Auto Layout-compatible APIs as part of the UI Dynamics-related API design.

Such APIs will promote more robust apps (no more workarounds) and better adoption of the technologies we're being encouraged to use (Auto Layout).

Steps to Reproduce:
1. Build an app in Auto Layout
2. Try to implement something with UI Dynamics

Expected Results:
APIs are available to interface with existing Auto Layout constraints

Actual Results:
No APIs are available to interface with existing Auto Layout constraints

Version:
iOS 9.0

Notes:


Configuration:
iPhones and iPads

Attachments:

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!