//为了隐藏默认的返回按钮
self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithCustomView:[UIView new]];
//开启手势操作
self.navigationController.interactivePopGestureRecognizer.delegate = nil;
时间: 2024-10-10 00:11:55
//为了隐藏默认的返回按钮
self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithCustomView:[UIView new]];
//开启手势操作
self.navigationController.interactivePopGestureRecognizer.delegate = nil;