博客> 自定义了leftBarbuttonItem左滑返回手势失效了怎么办
自定义了leftBarbuttonItem左滑返回手势失效了怎么办
2018-02-24 09:42 评论:1 阅读:662 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 回到顶部