解决hidesBottomBarWhenPushed 失效

if ([segue.identifier isEqualToString:@"showSearch"]) {
    SearchViewController *searchViewController = (SearchViewController *)segue.destinationViewController;
    searchViewController.hidesBottomBarWhenPushed = YES;
}

你可能感兴趣的:(解决hidesBottomBarWhenPushed 失效)