Commit 32ad7051 authored by Felix Paul Kühne's avatar Felix Paul Kühne

pause media when app resigns

parent 25a9979f
......@@ -271,11 +271,12 @@
APLog(@"unknown sender for videoFilterSliderAction");
}
#pragma mark -
#pragma mark - app multi tasking
- (void)appWillResign:(NSNotification *)aNotification
{
self.mediaItem.lastPosition = @([_mediaPlayer position]);
[_mediaPlayer pause];
}
#pragma mark - External Display
......
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