Explorar o código

VLCOpenInActivity: Fix open in activity for iPads

Soomin Lee %!s(int64=5) %!d(string=hai) anos
pai
achega
5b542dc3dd
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      Sources/VLCOpenInActivity.m

+ 3 - 0
Sources/VLCOpenInActivity.m

@@ -169,6 +169,9 @@
                                                          handler:^(UIAlertAction * _Nonnull action) {
                                                              [self activityDidFinish:NO];
                                                          }];
+
+    actionController.popoverPresentationController.sourceView = self.presentingViewController.view;
+
     [actionController addAction:cancelAction];
     [self.presentingViewController presentViewController:actionController animated:YES completion:nil];
 }