博客> 自定义了leftBarbuttonItem左滑返回手势失效了怎么办
自定义了leftBarbuttonItem左滑返回手势失效了怎么办
2017-12-13 03:57 评论:1 阅读:567 zhl1426689318
导航栏 手势 返回

self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc]

initWithImage:img

style:UIBarButtonItemStylePlain

target:self

action:

@selector

(onBack:)];

self.navigationController.interactivePopGestureRecognizer.delegat

e = (id)self;

收藏
1
sina weixin mail 回到顶部