Skip to content
This repository was archived by the owner on Jun 17, 2018. It is now read-only.

Hope to be able to join the system has the function of the slide of the return #372

@ReverseScale

Description

@ReverseScale

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())
    }
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions