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,但无论出于何种原因,我只能在第一个组件上而不是第二个组件上进行选择。我非常密切地关注UIPickerView 程序示例中的代码?. 我没有做任何修改。
您是否将 nib 文件连接检查器中的数据源、委托和选择器“Outlets”链接到文件所有者?
这可能是连接未正确设置的原因。见下文: