We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5dd67ef commit 5bcc878Copy full SHA for 5bcc878
AWVersionAgent/AWVersionAgent.m
@@ -76,7 +76,7 @@ - (void)checkNewVersionForApp:(NSString *)appid
76
[[NSUserDefaults standardUserDefaults] setObject:newVersion
77
forKey:@"kAppNewVersion"];
78
[[NSUserDefaults standardUserDefaults] synchronize];
79
- NSString *curVersion = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleVersion"];
+ NSString *curVersion = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleShortVersionString"];
80
if (newVersion && curVersion && ![newVersion isEqualToString:curVersion]) {
81
self.newVersionAvailable = YES;
82
}
0 commit comments