CNContactViewController forUnknownContact makes a buggy interface

Originator:gmancosu
Number:rdar://23971668 Date Originated:21/12/2015
Status:Duplicate of 22914950 Resolved:Open
Product:iOS SDK Product Version:iOS 9.2 (13C75)
Classification:Serious Bug Reproducible:Always
 
Summary:
The CNContactViewController in the Unknown Contact version hides the navigation bar when the user chooses one from create new, add to existing or add to 'known'. Pressing the Cancel button dismisses the editor but the navigation bar remains hidden. Moreover the bar hides without any animation.

Steps to Reproduce:
1. Push the CNContactViewController forUnknownContact with a dummy CNContact.
2. Grant access if requested.
3. You are shown the partial contact, in our navigation interface (note the Back button at the top).
4. Tap Add to Existing Contact. The contact picker appears.
5. Tap Cancel. It doesn't actually matter what you do from here, but tapping Cancel is simplest and is the fastest way to reach the bug.
6. We are now back at the partial contact, but the navigation interface is gone. The user has no way to escape from this interface. The app is locked.


Expected Results:
The step 6 should be:
6. We are now back at the partial contact and the navigation interface is again available. The user can tap the back button and the interface is fully functional.

Actual Results:
The navigation bar is hidden. No way to go back.


Notes:
The problem is linked with the new XPC interface of the Contacts UI. The new interface wants to stay in fullscreen, but it is added as a navigation bar subview. Thats the needs to hide the bar.

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!