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

遇到了一个很奇怪的问题,在iphone6上每一个子控制器可以进viewwillappear,在iphone6splus上不进viewwillappear #11

Open
bianxiang opened this issue Dec 16, 2016 · 0 comments

Comments

@bianxiang
Copy link

bianxiang commented Dec 16, 2016

遇到了一个很奇怪的问题,在iphone6 ios9上每一个子控制器可以进viewwillappear,在iphone6splus ios10上不进viewwillappear,后来了解到ios10对collectionview优化预加载什么的,我改成了 if #available(iOS 10.0, *) {
collectionView.isPrefetchingEnabled = false
} else {
// Fallback on earlier versions
}
根据测试有效

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