What is the best way to build an app without navigation bar ? I'm going to work on an app from scratch which includes about few navigation but there is no navigation bar. Definitely there will be navigation controller.
I know we can hide navigation bar by setting hidden property as YES. Is there any best recommended approach to build such kind of app ?
只需注意不要将视图内容放在状态栏下方(也就是说,如果您不隐藏状态栏),而是将后退按钮放置在手动弹出视图控制器的位置。
Go to your plist and do the below
one more thing on add the below line
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
[_navigationController setNavigationBarHidden:YES animated:NO];
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.