创建可以跟随UITableView滑动的导航栏
2013-08-13 14:53
387 查看
如图:
![](https://img-blog.csdn.net/20130813145349843?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvaGFveHVsaWFuZ19pb3M=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
![](https://img-blog.csdn.net/20130813145231531?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvaGFveHVsaWFuZ19pb3M=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
UINavigationController *navigationController = [[UINavigationControlleralloc]
initWithRootViewController:[[ViewControlleralloc]
initWithNibName:@"ViewController"bundle:nil]];
//以下是关键
// navigationController.navigationBar.barStyle = UIBarStyleBlackTranslucent;
navigationController.navigationBar.translucent =YES;
UINavigationController *navigationController = [[UINavigationControlleralloc]
initWithRootViewController:[[ViewControlleralloc]
initWithNibName:@"ViewController"bundle:nil]];
//以下是关键
// navigationController.navigationBar.barStyle = UIBarStyleBlackTranslucent;
navigationController.navigationBar.translucent =YES;
相关文章推荐
- UITableView--区头跟随表一起滑动的效果
- ios UITableView 滑动 headerView footerView 跟随问题
- TabLayout关联ViewPager(滑动ViewPager,TabLayout会有横杠带颜色跟着滑动,可以设置字体颜色跟随滑动)
- UITableView的区头显示(plain风格区头悬浮显示;grouped风格则区头跟随表格滑动)
- three20 如何在UITableVIew 上面加一个可以滑动的广告条
- UIscrollview和UItableView结合使用(就是cell可以滑动改变图片)
- view可以跟随滑动,且滑过一定高度固定在头部
- UITableView每次滑动一行,类似scroll page enable
- 动态创建Fragment与TextView配合PullToRefresh刷新json串左右滑动
- iOS开发-UI控件:让UITableView自动滑动(定位)到某一行cell
- 滑动删除uitableview cell
- iOS UITableView(UIScrollView)滑动到底部的判断
- IOS学习之路六(UITableView滑动删除指定行)
- UITableView滑动动画+FPSLabel
- [IOS]UITableView实现Cell的滑动删除
- iOS UITableView 禁止上下滑动
- Swift UITableView相关功能(一)创建tableView
- WLCardViewLayout: Card and swipe out layout of CollectView.(可以滑动删除的卡片视图布局)
- 使用 UITableView 创建表格应用演练(4)——自定义单元格
- IOS UITableViewUITableView小技巧--实现cell向左滑动删除,编辑等功能