摘要:
判断日期是不是同一天,不要求是小时、分钟要一样。from:http://www.oliverfoggin.com/nsdate-isequaltodatetounitgranularity/?utm_source=iOS+Dev+Weekly&utm_campaign=iOS_Dev_Weekly_Issue_115&utm_medium=email#import @interface NSCalendar (equalWithGranularity)- (BOOL)isDate:(NSDate *)date1 equalToDate:(NSDate *)date2 withG 阅读全文