摘要:
// 触摸背景关闭软键盘- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ [super touchesBegan:touches withEvent:event]; [self.view endEditing:YES];} 阅读全文
摘要:
if ([[[UIDevice currentDevice]systemVersion]floatValue] >= 7.0) { [[UINavigationBar appearance] setBarTintColor:[UIColor colorWithHexString:@"0b6aff"]]; } else { self.navigationBar.tintColor = [UIColor colorWithHexString:@"0b6aff"]; } 阅读全文