self是实例化的UINavgationController.
[self.interactivePopGestureRecognizer
setValue:@([UIScreen mainScreen].bounds.size.width)
forKeyPath:@"_recognizer._settings._edgeSettings._edgeRegionSize"];
self是实例化的UINavgationController.
[self.interactivePopGestureRecognizer
setValue:@([UIScreen mainScreen].bounds.size.width)
forKeyPath:@"_recognizer._settings._edgeSettings._edgeRegionSize"];
本文标题:实现全屏返回手势
本文链接:https://www.haomeiwen.com/subject/dmtirxtx.html
网友评论