Arrow position for UIPopover is wrong in some cases
| Originator: | Christian.Lobach | ||
| Number: | rdar://24147202 | Date Originated: | 12-Jan-2016 12:22 PM |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | 9.1 |
| Classification: | UI/Usability | Reproducible: | Always |
Summary: In some cases the arrow of a UIPopover does not point to the center of the given sourceRect. I could not clearly identify what causes this behavior or in which cases it occures. What I found out is that the bug only occurs if the source rect is 40pt in width or less. when changing the source rect slightly, the result looks fine. Please see the attached sample project. Steps to Reproduce: - Open attached example project - Tap on red button - look at the position of the popover’s arrow Expected Results: a popover appears with the arrow pointing to the horizontal center of the button Actual Results: a popover appears with the arrow pointing to right side of the button Notes: Workaround: move the button one point to the left, then the popover origin is correct. (c.f. the green button in the example project) http://cl.ly/3D1512062K3A
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!