ABPersonViewController and ABUnknownPersonViewController loses their navigation bars after presenting some modal views
| Originator: | pierre.sandstrom | ||
| Number: | rdar://22918020 | Date Originated: | 30-sep-2015 |
| Status: | Open | Resolved: | |
| Product: | iOS | Product Version: | iOS 9.0 (13A344) |
| Classification: | Serious bug | Reproducible: | Always |
Summary: An ABPersonViewController or ABUnknownPersonViewController presented from a standard UINavigationController loses the navigation bar (and thereby the user can no longer navigate back) after trying to share the presented contact by pressing the "Share contact" button. This only happens when running the code on iOS 9, and it doesn't matter if the code was compiled using iOS 8 SDK (using Xcode 6.4) or iOS 9 SDK (using Xcode 7). Steps to Reproduce: 1. On a device or simulator running iOS 9, run the QuickContacts sample project (available in Apple's documentation). 2. Select "Edit Unknown Contact" or "Display and Edit contact". 3. Select "Share contact". 4. The share sheet is shown. Notice that the navigation bar is also removed (this doesn't happen before iOS 9). 5. Press "Cancel" and try to navigate back, which is now impossible. Expected Results: After dismissing the share sheet that is presented when pressing the "Share contact" button we expect the user to still be able to navigate using the back button, that is, not hiding the navigation bar. Actual Results: The user loses the ability to navigate back from the ABPersonViewController after the share sheet has been presented modally, since the navigation bar is removed as soon as the share sheet is displayed.
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!