摘要:
1 -(IBAction)btnClick{ 2 UIActionSheet* actionSheet = [[UIActionSheet alloc] 3 initWithTitle:nil 4 delegate:self 5 cancelButtonTitle:@"取消" 6 destructiveButtonTitle:... 阅读全文
摘要:
//上拉菜单 1 UIActionSheet* sheet = [[UIActionSheet alloc] 2 initWithTitle:nil 3 delegate:self 4 cancelButtonTitle:@"取消" 5 destructiveButtonTitle:@"确定" 6 ... 阅读全文
摘要:
1 //获取系统时间 2 NSDate * date=[NSDate date]; 3 NSDateFormatter *dateformatter=[[NSDateFormatter alloc] init]; 4 [dateformatter setDateFormat:@"HH:mm"]; 5 NSString * locationString=[dateformatter stringFromDate:date]; 6 7 //[dateformatter setDateFormat:@"YYYY-MM-dd-HH-mm-ss"]; 8 //NS 阅读全文