Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以加载带有值的 uipickerview 但默认情况下没有选择项目?
我尝试将所选项目设置为-1,但没有成功。
我很确定您总是必须使用 UIPicker 选择至少一个项目......它会显示什么?也许您可以创建一个标题为“请选择”之类的项目?
我认为你应该总是至少有一些已经选择的默认值。