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

This commit is contained in:
Coder256
2018-01-30 11:00:39 -05:00
committed by Chris Bracken
parent 1a4af2c360
commit 1680d3f3da
2 changed files with 3 additions and 1 deletions

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>

View File

@@ -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