摘要:
@interface Utility : NSObject{}//验证身份证是否有效+ (BOOL)checkIDCard:(NSString *)str;@end@interface Utility ()int checkIDfromchar (const char *sPaperId);@end@implementation Utility//验证身份证是否有效int checkIDfromchar (const char *sPaperId) { long lSumQT =0; int R[] ={7, 9, 10, 5, 8, 4, 2, 1, 6,... 阅读全文