獲取當(dāng)前版本號
float NowVersion = [[[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"] floatValue];
ZYLog(@"當(dāng)前版本號: %f",NowVersion);
獲取當(dāng)前版本號
float NowVersion = [[[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"] floatValue];
ZYLog(@"當(dāng)前版本號: %f",NowVersion);