PhotoViewer icon indicating copy to clipboard operation
PhotoViewer copied to clipboard

NavigationBar Problem

Open lsantaniello opened this issue 12 years ago • 1 comments

I integrated PhotoViewer in my app but I have navigation bar problem. PhotoViewer Controller opened from different my custom controller. In many scenarious, Photo Viewer open with trasparent navigation bar. Navigation bar is not visible but if I click on top left I can go to back because back button is present but trasparent. How can I solve the problem?

thanks

lsantaniello avatar Sep 27 '13 11:09 lsantaniello

In viewDidLoad() add:

// iOS 7
if ([self respondsToSelector:@selector(edgesForExtendedLayout)]){
    self.edgesForExtendedLayout = UIRectEdgeAll;   // iOS 7 specific
    self.extendedLayoutIncludesOpaqueBars = YES;
    self.automaticallyAdjustsScrollViewInsets = NO;
}

Best regards!

kozik avatar Oct 09 '13 08:10 kozik