UIGravityBehavior should not be unique

Originator:robnapier
Number:rdar://15054361 Date Originated:23-Sep-2013 10:36 AM
Status:Open Resolved:
Product:iOS SDK Product Version:
Classification: Reproducible:
 
Currently, if multiple gravity behaviors are attached to the same view hierarchy, it generates a deprecation warning indicating that this will be an assertion in the future. This makes it very hard to maintain separation of concerns. View controllers must keep special track of their gravity behavior in order to pass it along to any other object that may create a view. This is not required for any other behavior, and UIKit Dynamics does not provide any help in keeping track of this special behavior.

Radar 15054341 could obviate this problem by moving the gravity to the superview (which is a better place for it).

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!