//Gets the time right now
NSDate *now = [NSDate date];
//Stores the difference in seconds between when the test was started and now.
NSTimeInterval interval = [self.expires timeIntervalSinceDate:now];
if (interval == 0) {
...
}
Любая причина, по которой условие не будет истинным?Проверьте, соответствует ли NSTimeInterval 0
Спасибо.