Only implement application:performActionForShortcutItem:completionHandler: on iOS 9.0+. And fix some tests. (#4600)

This commit is contained in:
Coder256
2018-01-30 11:00:39 -05:00
committed by Chris Bracken
parent 8f2d72b183
commit c92e3df2b1
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -6,3 +6,4 @@
Google Inc.
Jim Simon <jim.j.simon@gmail.com>
Ali Bitek <alibitek@protonmail.ch>
Jacob Greenfield <jacob.greenfield.256@gmail.com>
@@ -127,7 +127,8 @@ NS_ASSUME_NONNULL_BEGIN
*/
- (BOOL)application:(UIApplication*)application
performActionForShortcutItem:(UIApplicationShortcutItem*)shortcutItem
completionHandler:(void (^)(BOOL succeeded))completionHandler;
completionHandler:(void (^)(BOOL succeeded))completionHandler
API_AVAILABLE(ios(9.0));
@end