UINavigationBar titleView occupies all space on swipe back gesture
Originator: | WEstorWE | ||
Number: | rdar://38538795 | Date Originated: | 16/03/2018 |
Status: | Open | Resolved: | No |
Product: | UIKIt | Product Version: | 11.0 |
Classification: | Bug | Reproducible: | Always |
Summary: titleView occupies all navigationBar space and overlaps other items on swipe back gesture Steps to Reproduce: 1. Create UINavigationController with two view controllers 2. Set custom leftBarButtonItem on second screen 3. Set custom titleView on second controller (titleView should use all possible horizontal space) 4. Enable swipe back gesture with navigationController?.interactivePopGestureRecognizer?.delegate = nil 4. Open app and go to second screen 5. Perform swipe back gesture in a half Expected Results: titleView takes up as much space as before the gesture Actual Results: titleView occupies all navigationBar space and overlaps other items Version/Build: iOS 11.0-11.2.6 Configuration: iPhone 7 (and others) Demo: https://github.com/west0r/BaggyUINavigationBar
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!