摘要:
// 隐藏状态栏[application setStatusBarHidden:YES];// 设置导航背景颜色[[UINavigationBar appearance] setBarTintColor:[UIColor brownColor]];// 设置状态栏字体颜色 [application ... 阅读全文
摘要:
//1.禁止auturezing// self.view.translatesAutoresizingMaskIntoConstraints = NO; // 2.添加两个视图到父试图上// 2.1 添加蓝色View UIView *blueView = [[UIView alloc]init]; ... 阅读全文
摘要:
//时间 NSDateFormatter *formatter = [[NSDateFormatter alloc]init]; [formatter setDateFormat:@"HH:mm:ss"]; NSString *strDate = [formatter stringFrom... 阅读全文