我正在尝试构建QSelectSection in JSON.
我正在使用它:
{
"type":"QSelectSection",
"title":"multiselect",
"items":[[1, 2, 3]],
"multipleAllowed":true
}
但是当我构建并运行时,我收到了这个错误:
'-[QSelectSection setParentSection:]: unrecognized selector sent to instance 0x9fb2020
是否可以使用QuickDialog框架构建多选?或者我做错了什么?
感谢您的帮助!
答案 0 :(得分:0)
正确的格式是:
{
"type":"QSelectSection",
"title":"multiselect",
"items":[1, 2, 3],
"multipleAllowed":true
}