mirror of
https://github.com/SoPat712/YTLitePlus.git
synced 2025-08-21 18:48:45 -04:00
Update YTLitePlus.xm
This commit is contained in:

committed by
GitHub

parent
f4b911a0cd
commit
1db5cdb939
@@ -1070,7 +1070,7 @@ NSInteger pageStyle = 0;
|
|||||||
|
|
||||||
if (settingsViewController) {
|
if (settingsViewController) {
|
||||||
// Present the video picker
|
// Present the video picker
|
||||||
UIDocumentPickerViewController *documentPicker = [[UIDocumentPickerViewController alloc] initWithDocumentTypes:@[(NSString *)kUTTypeMovie, (NSString *)kUTTypeVideo] inMode:UIDocumentPickerModeImport];
|
UIDocumentPickerViewController *documentPicker = [[UIDocumentPickerViewController alloc] initWithDocumentTypes:@[(NSString *)UTTypeMovie.identifier, (NSString *)UTTypeVideo.identifier] inMode:UIDocumentPickerModeImport];
|
||||||
documentPicker.delegate = (id<UIDocumentPickerDelegate>)self;
|
documentPicker.delegate = (id<UIDocumentPickerDelegate>)self;
|
||||||
documentPicker.allowsMultipleSelection = NO;
|
documentPicker.allowsMultipleSelection = NO;
|
||||||
[settingsViewController presentViewController:documentPicker animated:YES completion:nil];
|
[settingsViewController presentViewController:documentPicker animated:YES completion:nil];
|
||||||
|
Reference in New Issue
Block a user