Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- UINavigationController *rootnav = (UINavigationController *)window.rootViewController;
- CGFloat topbarHeight = rootnav.navigationBar.frame.size.height + [UIApplication sharedApplication].statusBarFrame.size.height;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement