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

数据保留 #57

Open
MateenHJL opened this issue Nov 1, 2022 · 7 comments
Open

数据保留 #57

MateenHJL opened this issue Nov 1, 2022 · 7 comments

Comments

@MateenHJL
Copy link

有这么个场景, 我进这个页面后, 列表是A ,B,C,D ,我上面要默认显示已经选中了第4个(D) 这个应该怎么做呢。

@wwmz
Copy link
Owner

wwmz commented Nov 2, 2022

有这么个场景, 我进这个页面后, 列表是A ,B,C,D ,我上面要默认显示已经选中了第4个(D) 这个应该怎么做呢。

第四个传入字典 然后 @"isSelected":@(YES)

@MateenHJL
Copy link
Author

传入什么字典? 能具体coding出来吗?

@wwmz
Copy link
Owner

wwmz commented Nov 2, 2022

传入什么字典? 能具体coding出来吗?
D标题数据 传字典 @{@"isSelected":@(YES)}

@MateenHJL
Copy link
Author

image

你是说这样吗?

@MateenHJL
Copy link
Author

在 titleArrInMenu这个回调里面?

@wwmz
Copy link
Owner

wwmz commented Nov 2, 2022

在 titleArrInMenu这个回调里面?

嗯 ?不行么 默认选中的话

@MateenHJL
Copy link
Author

好像isSelected : YES 没生效 不过标题我换成变量是可以了!

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