摘要:
判断全汉字 if ([self deptNameInputShouldChinese]) { [DemonAlertHelper showToastWithMessage:@"只能是中文"]; return; } 调用这个方法就可 #pragma mark-- #pragma mark 输入中文 - 阅读全文
摘要:
1.[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel:186xxxx123"]]; 测试结果:不弹出提示框,直接跳转到通讯录拨打电话,通话结束返回到app。 2.UIWebView * callWebview 阅读全文
摘要:
处理UITextField,键盘消失问题 1. 通过UITextFiledDelegate,来释放第一响应者(resignFirstResponder);通过delegate释放键盘 -(BOOL)textFieldShouldReturn:(UITextFiled*)textField{ [tex 阅读全文