Commit e3c343e7 authored by Tobias's avatar Tobias
Browse files

fix crash when user repeatedly and quickly pressed arrow button to present info VC

parent 0b2ecb37
......@@ -268,6 +268,11 @@ typedef NS_ENUM(NSInteger, VLCPlayerScanState)
// TODO: configure with player info
VLCPlaybackInfoTVViewController *infoViewController = self.infoViewController;
// prevent repeated presentation when users repeatedly and quickly press the arrow button
if (infoViewController.isBeingPresented) {
infoViewController.transitioningDelegate = self;
[self presentViewController:infoViewController animated:YES completion:nil];
[self animatePlaybackControlsToVisibility:NO];
Supports Markdown
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