标签:
if ([firstDetailSelect compare:secondDetailSelect] == NSOrderedDescending)
{
[MBProgressHUD showError:@"开始时间不能大于结束时间" toView:self];
return;
}
比较Date时间先后
原文地址:http://www.cnblogs.com/yyj900165/p/4941783.html