如何在 Swift 中创建 UIPickerView 选择,以便视图扩展以允许添加选项?

How to create a UIPickerView selection in Swift such that the view expands to allow to add options?

我想创建一个像图像一样的选择视图,以便 UIPickerView 出现供选择并在单击 'Done' 时消失。

是否可以在使用故事板时创建它?

如果您能分享实现相同目标的描述性步骤,那就太好了。 link 教程也很棒。

Refer this link , and at the bottom there is a demo project link , see that link:

Table view cell expanding in IOS 7