iOS开发:
我们设置UINavigationBar跳转的时候,navigationbar会缩回到上方不见,比如这样:
解决方法:
[self.navigationController setNavigationBarHidden:YES animated:YES];
// 分割线的颜色设置方法 [tableView setSeparatorColor:]
self.edgesForExtendedLayout = UIRectEdgeNone;
如edgesForExrendedLayout是None的时候出现空挡(跳转的时候有空隙,好像不完整的样子),就调整为UIRectEdgeTop或者UIRectEdgeAll