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

IQKeyboardManager中1112行,没有判断是否开启工具栏 导致用户设置工具栏隐藏时还是会意外显示出来 #2049

Open
sweetKnight opened this issue May 31, 2024 · 0 comments

Comments

@sweetKnight
Copy link

if ([superScrollView isKindOfClass:[UITableView class]] || [superScrollView isKindOfClass:[UICollectionView class]])
{
//This will update the next/previous states
[strongSelf addToolbarIfRequired];
}
应改为

if ([superScrollView isKindOfClass:[UITableView class]] || [superScrollView isKindOfClass:[UICollectionView class]])
{
if ([self privateIsEnableAutoToolbar])
{
[self addToolbarIfRequired];
}
}

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