测试已测试 | ✗ |
语言语言 | Obj-CObjective C |
许可证 | Apache 2 |
发布最后发布 | 2014年12月 |
由 Henry T. Kirk 维护。
适用于 iOS 7.x 的滚动导航控制器,具有滑动切换效果。它底层使用 UICollectionView,目前支持垂直滑动。
// Initial setup and presentation
UIViewController *sampleController = [[UIViewController alloc] init];
// pass sampleViewController as root
HTKScrollingNavigationController *navController = [[HTKScrollingNavigationController alloc] initWithRootViewController:sampleController];
// show "modally" using helper. (optional, but recommended)
[navController showInParentViewController:self withDimmedBackground:YES];
// Push new controller
UIViewController *sampleViewController = [[UIViewController alloc] init];
[self.scrollingNavigationController pushViewController:sampleViewController animated:YES];
// Pop existing controller
[self.scrollingNavigationController popViewControllerAnimated:YES];
// Dismiss (optional)
[self.scrollingNavigationController dismissFromParentControllerAnimated:YES];
v0.0.1: 初次项目提交 v0.0.2: 添加了功能,如果单元格包含 UITextField 或 UITextView,当键盘出现时,它将向上滚动以确保不被遮挡。
有问题?请发邮件至: [email protected] 或访问网站: http://www.henrytkirk.info