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

切换tabbar问题 #6

Open
yujianfeikong opened this issue Oct 28, 2016 · 2 comments
Open

切换tabbar问题 #6

yujianfeikong opened this issue Oct 28, 2016 · 2 comments

Comments

@yujianfeikong
Copy link

yujianfeikong commented Oct 28, 2016

当前滑动到了第5个标题,此时切换tabbar,然后再切换回来。这时第5个子视图和前一个子视图都执行了(第4个子视图)viewWillAppear方法。即如果在viewWillAppear方法里输出当前titile,则控制台会出现title5和title4。这个正常么?

@yujianfeikong
Copy link
Author

或者从后往前滑动,滑到倒数第3个title,切换tabbar,则viewWillAppear会输出倒数第2个title和倒数第3个title

@jasnig
Copy link
Owner

jasnig commented Oct 29, 2016

生命周期方法暂时并不会被保证正常调用, 可以使用OC版的

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