总定义push,pop方向
来源:互联网 发布:php exec 异步执行 编辑:程序博客网 时间:2024/05/16 05:43
-(void) setUpBackBut{
UIButton *backBut=[[UIButtonalloc]init];
[backBut setImage:[UIImageimageNamed:@"navgationbar_back_but"]forState:UIControlStateNormal];
[backBut sizeToFit];
[backBut addTarget:selfaction:@selector(backBUtClicked)forControlEvents:UIControlEventTouchUpInside];
self.navigationItem.leftBarButtonItem=[[UIBarButtonItemalloc]initWithCustomView:backBut];
}
-(void) backBUtClicked{
CATransition *anim=[CATransitionanimation];
anim.type=kCATransitionPush;
anim.subtype=kCATransitionFromRight;
[self.navigationController.view.layeraddAnimation:anim forKey:nil];
[self.navigationControllerpopViewControllerAnimated:YES];
}
- 总定义push,pop方向
- 定义NavigationController pop 和push的动画
- PUSH/POP
- 使用链表定义堆栈,实现pop,push
- 数据传输指令--push、pop
- GCC push/pop说明
- push和pop
- 堆栈初始化,POP,PUSH()
- push和pop
- ios push pop动画
- 导航控制器push/pop
- [iOS_Dev] pop / push modal
- NavigationViewControler pop/push
- Push,Pop,Modal,Dismiss
- #类模板# push,pop
- pop,push,shift,unshift
- push/pop堆栈指令
- of、pop、push、reduce
- 平衡二叉树
- Java基础知识漫谈-送给迷茫的我们
- iOS 8 VoIP Notifications(没完)
- Java设置Client Socket链接Server超时时间
- 随便说说removeFromSuperview方法
- 总定义push,pop方向
- Session的生命周期
- UML包含的元素
- 阿里百川HotFix解决方案使用体验
- 数组中只出现一次的数字
- OBIEE-外部表登录无法使用代理的解决方法
- XML小练习(一)
- 1061. Dating (20)
- Cats(4)- 叠加Free程序运算结果,Stacking monadic result types