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

VTMagicController生命周期 统计问题 #135

Open
witwql opened this issue Sep 19, 2022 · 0 comments
Open

VTMagicController生命周期 统计问题 #135

witwql opened this issue Sep 19, 2022 · 0 comments

Comments

@witwql
Copy link

witwql commented Sep 19, 2022

当在外层VTMagicView里的子VC(VC1,不与currentPage相邻)嵌套一个里层VTMagicView(需要切换到VC2,不与currentPage相邻,且位于靠后的位置)时,通过click Menu的方式,先点击VC1(防止preload),再滑动Menu到最后,此时会触发VTMagicController的viewWillDisappear方法,导致appearanceState = VTAppearanceStateWillDisappear,然后再通过click Menu的方式,点击VC2,发现VC2的viewDidAppear方法不会执行,原因VTMagicView的shouldForwardAppearanceMethods方法里,只有在appearanceState为VTAppearanceStateDidAppear或者VTAppearanceStateWillAppear才会触发。希望能及时修复这个问题,非常感谢!!!
Xcode版本14.0,iOS版本16.0。

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