#import "ViewController.h"@interfaceViewController()@property(nonatomic,strong)UITextField*pickerViewTextField;@end@implementationViewController@synthesizepickerViewTextField=_pickerViewTextField;-(void)viewDidLoad{
[superviewDidLoad];// set the frame to zeroself.pickerViewTextField=[[UITextFieldalloc]initWithFrame:CGRectZero];[self.viewaddSubview:self.pickerViewTextField];UIPickerView*pickerView=[[UIPickerViewalloc]initWithFrame:CGRectMake