-[UIScreenEdgePanGestureRecognizer edges] getter always returns 0
| Originator: | thetomas | ||
| Number: | rdar://17092358 | Date Originated: | |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | 7.1.1 |
| Classification: | Reproducible: |
Summary: The getter for UIScreenEdgePanGestureRecognizer's edges property always returns 0, even when actually set to something else. Steps to Reproduce: 1. Create a UIScreenEdgePanGestureRecognizer 2. Set its edges property to any value, such as UIRectEdgeLeft 3. Get the value of the edges property Expected Results: The result is the value that was previously set. Actual Results: The result is always zero. Version: iOS 7.1.1 Notes: Looking at the disassembly of UIKit, it seems that setEdges: sets a property of an internal object, but the getter returns the value of an instance variable (which has never been set). Configuration: iPhone 5S / iPad / iOS simulator
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!