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

设置为navigationItem.titleView会导致被导航栏控制器持有不销毁 #202

Closed
YongTaiSin opened this issue Mar 7, 2022 · 1 comment

Comments

@YongTaiSin
Copy link

如果在上一个页面的导航栏是隐藏的,当前页面的导航栏是显示的,当前页面设置titleView为segmentedView会导致pop回去这个控件仍然没销毁,只有在viewWillDisappear里设置为nil才能解决。 但是这样会导致手势返回一半titleView空白的现象。
image

@pujiaxin33
Copy link
Owner

在NaviSegmentedControlViewController example中并没有复现你所说的内存泄露问题。

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

2 participants