diff --git a/Harpy/Harpy.m b/Harpy/Harpy.m index e8e5fb6..13f5ffb 100755 --- a/Harpy/Harpy.m +++ b/Harpy/Harpy.m @@ -263,7 +263,9 @@ - (void)appStoreVersionIsNewer:(NSString *)currentAppStoreVersion { - (void)launchAppStore { NSString *iTunesString = [NSString stringWithFormat:@"https://itunes.apple.com/app/id%@", [self appID]]; NSURL *iTunesURL = [NSURL URLWithString:iTunesString]; - [[UIApplication sharedApplication] openURL:iTunesURL]; + dispatch_async(dispatch_get_main_queue(), ^{ + [[UIApplication sharedApplication] openURL:iTunesURL]; + }); if ([self.delegate respondsToSelector:@selector(harpyUserDidLaunchAppStore)]){ [self.delegate harpyUserDidLaunchAppStore];