#pragma mark - 检测是否含有特殊字符
-(BOOL)isIncludeSpecialCharact: (NSString *)str {
//***需要过滤的特殊字符:~¥#&*<>《》()[]{}【】^@/£¤¥|§¨「」『』¢¬ ̄~@#¥&*()——+|《》$_€ 。
NSRange urgentRange = [str rangeOfCharacterFromSet: [NSCharacterSet characterSetWithCharactersInString: @"~¥#&*<>《》()[]{}【】^@/£¤¥|§¨「」『』¢¬ ̄~@#¥&*()——+|《》$_€?!,.;' "]];
if (urgentRange.location == NSNotFound)
{
return NO;
}
return YES;
}