Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NavigationBar Problem #35

Open
lsantaniello opened this issue Sep 27, 2013 · 1 comment
Open

NavigationBar Problem #35

lsantaniello opened this issue Sep 27, 2013 · 1 comment

Comments

@lsantaniello
Copy link

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

@kozik
Copy link

kozik commented Oct 9, 2013

In viewDidLoad() add:

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

Best regards!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants