Skip to content

类似于网易新闻客户端的可以滑动返回的导航控制器

Notifications You must be signed in to change notification settings

yuzhouwww/TouchNavigation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#TouchNavigation

类似于网易新闻客户端里面可以滑动返回的导航控制器

兼容iOS 5.1及以后,iOS5.1之前没有测试


capture

使用方法类型于UIKIT中的UINavigationController

init:

TouchNavigationController *nav = [[TouchNavigationController alloc] initWithRootViewController:vc];

push:

[self.touchNavigationController pushViewController:testViewController animated:YES];

pop:

[self.touchNavigationController popViewControllerAnimated:YES];

以及: - (void)popToViewController:(TouchViewController *)viewController animated:(BOOL)animated; - (void)popToRootViewControllerAnimated:(BOOL)animated;


####注意:所有PUSH进来的ViewController都要继承于TouchViewController


About

类似于网易新闻客户端的可以滑动返回的导航控制器

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published