摘要:
1. 初始化UIDatePickerUIDatePicker *datePicker = [[UIDatePicker alloc] initWithFrame:CGRectMake(0, 200, 320, 216)];注:高度和宽度可以设定为0,比如:UIDatePicker *datePicker = [[UIDatePicker alloc] initWithFrame:CGRectMake(0, 200, 0, 0)];2. 设置时区[datePicker setTimeZone:[NSTimeZone timeZoneWithName:@"GMT"]];3. 设 阅读全文