IOS 10上的MWPhotoBrowser未显示带后退按钮的顶栏

IOS 10上的MWPhotoBrowser未显示带后退按钮的顶栏,ios,mwphotobrowser,Ios,Mwphotobrowser,我正在使用此库显示ios设备上自定义位置文件夹中的图片/视频。它设法显示图片和视频,但是,它现在显示的是后退按钮,也不是我的iphone上的顶栏,我正在从我的react本机插件调用库 MWPhotoBrowser *browser = [[MWPhotoBrowser alloc] initWithDelegate:self]; browser.displayActionButton = YES; // Show action button to allow sharing, copyin

我正在使用此库显示ios设备上自定义位置文件夹中的图片/视频。它设法显示图片和视频,但是,它现在显示的是后退按钮,也不是我的iphone上的顶栏,我正在从我的react本机插件调用库

MWPhotoBrowser *browser = [[MWPhotoBrowser alloc] initWithDelegate:self];

  browser.displayActionButton = YES; // Show action button to allow sharing, copying, etc (defaults to YES)
 browser.displayNavArrows = NO; // Whether to display left and right nav arrows on toolbar (defaults to NO)
 browser.displaySelectionButtons = NO; // Whether selection buttons are shown on each image (defaults to NO)
 browser.zoomPhotosToFill = YES; // Images that almost fill the screen will be initially zoomed to fill (defaults to YES)
 browser.alwaysShowControls = NO; // Allows to control whether the bars and controls are always visible or whether they fade away to show the
 [browser setCurrentPhotoIndex:index];

 // Manipulate
 [browser showNextPhotoAnimated:YES];
 [browser showPreviousPhotoAnimated:YES];
 [browser.view setFrame:CGRectMake(0, 0, browser.view.frame.size.width,       browser.view.frame.size.height)];
 AppDelegate *delegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
 [delegate.window addSubview:browser.view];
 [delegate.navigationController pushViewController:browser animated:YES  ];

它显示的图片和视频没有任何问题,但它没有显示后退按钮。有什么想法吗?

这里也一样。对我来说,在我演示之后,它不会显示导航栏。这里也一样。对我来说,在我演示之后,它不会显示导航栏。