Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allowsTouchEventsPassingThroughTransitionView 设置成true 返回问题 #144

Open
jinliyuelong opened this issue Dec 8, 2023 · 1 comment

Comments

@jinliyuelong
Copy link

jinliyuelong commented Dec 8, 2023

一个三个页面 vc1,vc2,vc3。

  1. 页面vc1,push到vc2,
  2. vc2上presentPanModal 一个vc3。
  3. vc3的allowsTouchEventsPassingThroughTransitionView 设置成true,
  4. 在vc3还显示的时候,点击vc2的返回按钮,执行pop(伪代码如下),发现vc1 的viewwillappear没执行,
 if let  presentVC = self.presentedViewController {
            presentVC.dismiss(animated: false, completion: {[weak self] in 
                 self?.navigationController?.popViewController(animated: true)
            })
        }

且发现此时windows 多了一个UITextEffectsWindow

@jinliyuelong jinliyuelong changed the title allowsTouchEventsPassingThroughTransitionView 设置成true 返回得问题 allowsTouchEventsPassingThroughTransitionView 设置成true 返回问题 Dec 8, 2023
@jinliyuelong
Copy link
Author

presentVC.dismiss(animated: false) 有问题
presentVC.dismiss(animated: true) 正常

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant