摘要:
1 //UIBarButtonItem 回调方法; 2 - (void)backToRootVC 3 { 4 //跳转到父视图 默认动画效果; 5 //[self.navigationController popToRootViewControllerAnimated:YES]; 6 7 //跳转到父视图 设置动画效果; 8 [UIView animateWithDuration:1 animations:^{ 9 [UIView setAnimationTransition:UIViewAnimationTransitionFl... 阅读全文
摘要:
1 - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil 2 { 3 self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; 4 if (self) 5 { 6 7 self.navigationItem.title = @"我收藏的优惠券"; 8 self.editButtonItem.possibleTitles = [NSSet ... 阅读全文