-(void)judgeAPPVersion:(NSString *)strVersion
{
NSDictionary *infoDic = [[NSBundle mainBundle] infoDictionary];
NSString *currentVersion = [infoDic objectForKey:@"CFBundleShortVersionString"];
if (strVersion != nil && strVersion.length > 0) {
//当前iOS版本小于服务器版本
if ([currentVersion compare:strVersion] == NSOrderedAscending) {
}
}
}
网友评论