判断授权是否过期
1 self.expireTime = [theExpiredTime intValue]+ [[NSDate date] timeIntervalSince1970];
2
- (BOOL)isAuthorizeExpired
{
if ([[NSDate date] timeIntervalSince1970] > expireTime)
{
//删除操作
return YES;
}
return NO;
}
以秒为单位计算
补充:移动开发 , IOS ,