- 博客(4)
- 收藏
- 关注
原创 ios 指纹登陆
LAContext *myContext = [[LAContext alloc] init]; NSString *reason = @"请验证已有指纹"; myContext.localizedFallbackTitle = @""; [myContext evaluatePolicy:LAPolicyDeviceOwnerAu
2015-05-06 10:44:56
367
原创 UITextField填写电话号码 添加空格
/** * 电话添加空格 开头3个加空格 后面4个加空格 */- (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string { if (textField == self.phoneFiled)
2015-05-06 10:40:25
648
原创 监听软键盘的弹出 调整页面Frame
开启监听[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardWillShow:) name:UIKeyboardWillShowNotification object:nil]; [[NSNotificationCenter defaultCenter] addObserver:
2015-05-06 10:37:17
272
原创 数组的倒序排列
NSArray *array = [NSArray arrayWithObjects:@"1",@"2",@"3", nil]; array = [[array reverseObjectEnumerator] allObjects]; NSLog(@"%@",array);
2015-05-06 10:12:26
573
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人