摘要: // 创建时间选择器 UIDatePicker *picker = [[UIDatePicker alloc] init]; // 设置时间格式为只显示日期 picker.datePickerMode = UIDatePickerModeDate; // 显示中文 ... 阅读全文
posted @ 2014-08-18 18:34 翔子的麦田 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 当使用 initWithNibName 函数, 并使用 由nib文件生成的ViewController 的view属性时候,遇到这个问题。UIViewController * UIVC = [[UIViewController alloc] initWithNibName:@"loc" bundle... 阅读全文
posted @ 2014-08-18 16:25 翔子的麦田 阅读(1076) 评论(0) 推荐(0) 编辑