摘要: #define IS_IPAD (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) #define IS_IPHONE (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone) #def... 阅读全文
posted @ 2015-09-28 17:35 Cheetah_yang 阅读(315) 评论(0) 推荐(0) 编辑
摘要: - (BOOL)checkIdentityCardNo:(NSString*)cardNo{ if (cardNo.length != 18) { return NO; } NSArray* codeArray = [NSArray arrayWithObjects:@"7",@"9",... 阅读全文
posted @ 2015-09-28 12:46 Cheetah_yang 阅读(459) 评论(0) 推荐(0) 编辑