方便好用的弹出 UIPickerView/UIDatePicker
UIPickerView *pickerView = [[UIPickerView alloc]init];
pickerView.delegate = self;
pickerView.dataSource = self;
LewPickerController *pickerController = [[LewPickerController alloc]initWithDelegate:self];
pickerController.pickerView = pickerView;
pickerController.titleLabel.text = @"请选择";
[pickerController showInView:self.view];
This code is distributed under the terms of the MIT license.
代码使用 MIT license 许可发布.