Fix tvOS build
This commit is contained in:
parent
ee7df54842
commit
c89de92e23
2 changed files with 6 additions and 0 deletions
|
|
@ -983,6 +983,7 @@ static NSMutableSet* hostList;
|
|||
}
|
||||
|
||||
- (void)updateHostShortcuts {
|
||||
#if !TARGET_OS_TV
|
||||
if (@available(iOS 9.0, *)) {
|
||||
NSMutableArray* quickActions = [[NSMutableArray alloc] init];
|
||||
|
||||
|
|
@ -1004,6 +1005,7 @@ static NSMutableSet* hostList;
|
|||
|
||||
[UIApplication sharedApplication].shortcutItems = quickActions;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
- (void)updateHosts {
|
||||
|
|
|
|||
Loading…
Reference in a new issue