UIAttachmentBehavior not affected by frictionTorque or damping
| Originator: | thedov | ||
| Number: | rdar://23596425 | Date Originated: | 18-Nov-2015 01:56 PM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Xcode 7.1.1 (7B1005) |
| Classification: | Serious Bug | Reproducible: | Always |
Summary: When configuring a UIView with a UIAttachmentBehavior, there appears to be no way to change the rate at which the swing decelerates. Setting the frictionTorque and damping properties on the attachment behavior has no effect. Steps to Reproduce: 1. Build and run the attached sample project in the simulator 2. Observe how the blue box swings 3. Tap Add Friction 4. Tap Add Damping Expected Results: Steps 3 and 4 each slow down the swinging (or deceleration of) of the blue box Actual Results: The blue box swings at the same rate (and slows down at the same rate) regardless of whether the damping and frictionTorque are 0 or 1,000,000
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!