You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Talking about ch24/iHotelApp/iHotelApp/ directory.
Since fileModificationDate is the date from the past it returns negative value when sent a message timeIntervalSinceNow. Return statement thus evaluates always to NO. I think return fabs(stalenessLevel) > kMenuStaleSeconds; should do the job.
Talking about ch24/iHotelApp/iHotelApp/ directory.
Since
fileModificationDate
is the date from the past it returns negative value when sent a messagetimeIntervalSinceNow
. Return statement thus evaluates always to NO. I thinkreturn fabs(stalenessLevel) > kMenuStaleSeconds;
should do the job.AppCache.m:
The text was updated successfully, but these errors were encountered: