// // UINavigationController+EndEditing.h // 乐销 // // Created by 隋林栋 on 2017/2/20. // Copyright © 2017年 ping. All rights reserved. // #import @interface UINavigationController (EndEditing) #pragma mark property @property (nonatomic,readonly) UIViewController * lastVC; @property (nonatomic,readonly) UIViewController * lastSecondVC; #pragma mark login method //跳转多个vc - (void)jumpToAry:(NSArray *)aryVCs; //跳转多个vc - (void)jumpToAry:(NSArray *)aryVCs animate:(BOOL)animated; //返回最后一个然后push vc - (void)popLastAndPushVC:(UIViewController *)vc; //返回最后一个然后pop vc - (void)popLastAndPopVC:(UIViewController *)vc; //往回调很多vc - (void)popMultiVC:(NSInteger)num; //跳转到之前的 vc类型 - (void)popToClass:(NSString *)className; //根据名称跳转 - (void)pushVCName:(NSString *)strClassName animated:(BOOL)animated; //跳转回root 然后跳转多个vc - (void)popToRootAry:(NSArray *)aryVCs animate:(BOOL)animated; #pragma business method //跳转详情 - (void)jumpToDetailVC:(NSString *)strBsort sSort:(NSString *)strSsort identify:(NSString *)identify; - (void)jumpToDetailVC:(NSString *)strSsort; @end