InAppSettingsKit - 能够选择多个值
我正在使用 InAppSettingsKit 在我的应用程序中存储用户首选项。我有一个设置,我希望用户能够为该设置选择多个值(如复选框)。关于我是否可以使用 InAppSettingsKit 执行此操作有什么想法吗?
谢谢。
I am using InAppSettingsKit to store user preferences in my app. I have a setting where I want the user to be able to choose multiple values for that setting (like a checkbox). Any ideas on whether I can do this using InAppSettingsKit?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为您无法使用复选框类型的设置来完成此操作。您可以尝试创建一组设置,然后在该组中您可以有一个带有切换框的选项,用于您希望用户能够选择的每个值。
唯一的缺点是您必须检查多个键来检查已选择哪些选项。
I don't think you'll be able to do it using a checkbox kind of setup. You could try creating a group of settings, then within the group you could have an option with a toggle box for each of the values you want users to be able to select.
The only downside to this would be that you'd have to check multiple keys to check which options have been selected.