Search bar and navigation bar disappear in UIDocumentPickerViewController when search bar becomes first responder

Originator:christos.koninis
Number:rdar://24564847 Date Originated:9/2/2015
Status:Open Resolved:
Product:iOS SDK Product Version:iOS 9.2 & 8.4
Classification:UI/Usability Reproducible:Always
 
Summary:
Search bar and navigation bar disappear in UIDocumentPickerViewController when search bar becomes first responder, if the translucency set to OFF in the UINavigationBar appearance proxy.

Steps to reproduce:
1. Create an new project go to the project target and add the iCloud entitlements (check the Services for iCloud Documents)
2. Add in the didFinishLaunchingWithOptions the following line to disable translucency in the navigation bar:
    [[UINavigationBar appearance] setTranslucent:NO];
3. In the sample view controller of the application present the UIDocumentPickerViewController 
- (void)viewDidAppear:(BOOL)animated
{
    UIDocumentPickerViewController *documentPicker
    = [[UIDocumentPickerViewController alloc] initWithDocumentTypes:@[@"com.adobe.pdf"]
      
    [self presentViewController:documentPicker animated:YES completion:nil];
}

4. Tap the search bar to become the first responder

Expected Results:
The search bar to animate to the position of the navigation bar.

Actual Results:
The search bar to disappears.

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!