I found that by default, cannot use the system at the same time in the open sliding switch the slide of the return, and this function has a lot of user habit, so I try to use this method and I do not know if this is correct:
//
// PagingViewController.swift
// PagingMenuController
//
// Created by Yusuke Kita on 6/3/16.
// Copyright (c) 2016 kitasuke. All rights reserved.
//
...
open override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
contentScrollView.panGestureRecognizer.require(toFail: navigationController?.interactivePopGestureRecognizer ?? UIGestureRecognizer())
navigationController?.interactivePopGestureRecognizer?.require(toFail: navigationController?.interactivePopGestureRecognizer ?? UIGestureRecognizer())
}
...
I found that by default, cannot use the system at the same time in the open sliding switch the slide of the return, and this function has a lot of user habit, so I try to use this method and I do not know if this is correct: