Commit a7530da6 authored by Tobias's avatar Tobias
Browse files

fix remote control commands on pre iOS 7.1. (closes #14996)

parent 7f9e30e0
......@@ -545,6 +545,12 @@ continueUserActivity:(NSUserActivity *)userActivity
[self.menuViewController selectRowAtIndexPath:[NSIndexPath indexPathForRow:2 inSection:1] animated:NO scrollPosition:UITableViewScrollPositionNone];
}
#pragma mark - remote events pre 7.1
- (void)remoteControlReceivedWithEvent:(UIEvent *)event {
[[VLCPlaybackController sharedInstance] remoteControlReceivedWithEvent:event];
}
#pragma mark - playback view handling
- (void)openMediaFromManagedObject:(NSManagedObject *)mediaObject
......
......@@ -92,4 +92,6 @@ currentMediaHasTrackToChooseFrom:(BOOL)currentMediaHasTrackToChooseFrom
- (void)setNeedsMetadataUpdate;
- (void)scheduleSleepTimerWithInterval:(NSTimeInterval)timeInterval;
- (void)remoteControlReceivedWithEvent:(UIEvent *)event;
@end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment