所以我有一个UIpickerview的代码,我想获取选定的值作为变量以后使用,我尝试使用变量引力,但它表示“初始化变量引力从未被使用。 ......”这里是我的代码: var g = ["9.807", "3.711"]
func numberOfComponents(in pickerView: UIPickerView) -> Int {
return 1
}
func pi
here when i define a cell ,,then in picker it did not recognize and always be 0. so the label always be empty.OR rather then when i update my collection view then all element(9 element)of cell has bee
我目前遇到pickerview的问题,因为当我单击应用程序时,选择器视图未从Web服务加载的玩法测验。选择器视图应显示来自Web服务的答案数组。选择器视图是空的任何想法?另外问题是不是从Web服务加载为文本标签? class QuestionsViewController: UIViewController, UIPickerViewDelegate {
@IBOutlet weak var