我試圖把UIPickerView放在UIAlertView但是我似乎無法正確調整它的大小。這裏就是我得到: 這裏是我的代碼: let alertView = UIAlertController(title: "Select item from list", message: "", preferredStyle: UIAlertControllerStyle.alert)
let pi
當我我們下面的代碼只在PickerView看到問號。 我找不到這個錯誤。 import UIKit
class ViewController: UIViewController, UIPickerViewDataSource, UIPickerViewDelegate {
@IBOutlet weak var dbPicker: UIPickerView!
var d
我有在我的PickerView位OG麻煩。首先我ViewController不接受UIPickerViewDataSource不管我做什麼。其次,PickerView將只顯示第一行。我需要它來顯示一個文本字段行和顯示器被稱爲學校 我該怎麼辦錯了????? 誰能幫助我,我發瘋 enter code here
private let typeComponent = 0
privat