摘要: 【转载请注明出处】iOS 7中在传统的左上角返回键之外,提供了右滑返回上一级界面的手势。支持此手势的是UINavigationController中新增的属性interactivePopGestureRecognizer,即右滑返回只支持以UINavigationController为容器的ViewController间切换,要想在自定义容器中使用,需要一些额外的工作。基本地,控制ViewController是否启用右滑返回,只需要这样:1 self.navigationController.interactivePopGestureRecognizer.enabled = YES;默认情况下 阅读全文
posted @ 2013-11-19 22:45 NSTopGun 阅读(10819) 评论(6) 推荐(5) 编辑