我遇到了UIPickerView的連接問題。 我的viewController類看起來是這樣的:UIPickerView連接
@interface MyViewController: UIViewController <UITextFieldDelegate, UIPickerViewDataSource, UIPickerViewDelegate>
{
IBOutlet UIPickerView *pickerView;/this is what it says in all tutorials
//other textfields
}
@property..of textfields, label, nsstring
@end
在界面生成器,當我按Ctrl +單擊該文件的所有者,我pickerview出現在奧特萊斯,而不是在引用網點(對什麼是在教程中所示)。 如何建立連接?我該如何連接它? 我希望點擊一個按鈕,其動作也在上面的類中註冊時顯示PickerView。