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

title刷新的问题 #491

Open
fengtook opened this issue Nov 30, 2023 · 1 comment
Open

title刷新的问题 #491

fengtook opened this issue Nov 30, 2023 · 1 comment
Labels
question Further information is requested

Comments

@fengtook
Copy link

在数据加载完成之后刷新了title的内容,
image

第一次滑动到controller的时候无效, 所以我手动设置了滑动到的位置 -> [self.categoryView selectItemAtIndex:index]; 但是看起来像滑动了两次, 但是此情况只有要滑动到的controller未被加载过才会出现这种问题, 已被加载过的并不会出现

RPReplay_Final1701316592.MP4
@pujiaxin33
Copy link
Owner

可以尝试设置defaultSelectedIndex = index; 再调用[self.categoryView reload]方法。

@pujiaxin33 pujiaxin33 added the question Further information is requested label Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants