We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
bug描述 我的界面在 viewDidAppear 时有判断 view.superview 做一些逻辑,然而使用 JXCategoryView 后发现触发 viewDidAppear 时,self.view.superview 为 nil。这不符合生命周期逻辑。调试发现是这里的问题。
JXCategoryView/Sources/Common/JXCategoryListContainerView.m
Line 442 in 8865907
[self.collectionView dequeueReusableCellWithReuseIdentifier:@"cell" forIndexPath:indexPath]
版本号 1.JXCategoryView版本号:1.5.9 2.手机系统版本号:15.5 3.手机型号:iPhone 12 mini
复现步骤
截图
viewDidAppear 调用栈:
The text was updated successfully, but these errors were encountered:
看 1.6.1 的代码,问题依然存在。
Sorry, something went wrong.
No branches or pull requests
bug描述
我的界面在 viewDidAppear 时有判断 view.superview 做一些逻辑,然而使用 JXCategoryView 后发现触发 viewDidAppear 时,self.view.superview 为 nil。这不符合生命周期逻辑。调试发现是这里的问题。
JXCategoryView/Sources/Common/JXCategoryListContainerView.m
Line 442 in 8865907
cell 为 nil,这里应该使用
[self.collectionView dequeueReusableCellWithReuseIdentifier:@"cell" forIndexPath:indexPath]
来获取 cell。版本号
1.JXCategoryView版本号:1.5.9
2.手机系统版本号:15.5
3.手机型号:iPhone 12 mini
复现步骤
截图
viewDidAppear 调用栈:
The text was updated successfully, but these errors were encountered: