Skip to content

Commit

Permalink
Merge pull request #4 from mindsnacks/feature/iOS10_openURL
Browse files Browse the repository at this point in the history
[FINAL][HOLD] update openURL: for iOS 10 / dropping iOS 9
  • Loading branch information
msun authored Dec 1, 2017
2 parents 494dcd2 + 9c99b6f commit 9ecada0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Appirater.m
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,9 @@ + (void)rateApp {
reviewURL = [templateReviewURLiOS7 stringByReplacingOccurrencesOfString:@"APP_ID" withString:[NSString stringWithFormat:@"%@", _appId]];
}

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:reviewURL]];
[UIApplication.sharedApplication openURL:[NSURL URLWithString:reviewURL]
options:@{}
completionHandler:nil];
#endif
}
}
Expand Down

0 comments on commit 9ecada0

Please sign in to comment.