Преглед на файлове

VLCOpenInActivity: Fix open in activity for iPads

Soomin Lee преди 5 години
родител
ревизия
5b542dc3dd
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  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];
 }