|
@@ -839,6 +839,7 @@ typedef NS_ENUM(NSInteger, CHOOSETYPE) {
|
|
|
self.downloadFileUrl = fileUrl;
|
|
|
// 保存到文件目录下
|
|
|
KSDocumentViewController *documentPickerVC = [[KSDocumentViewController alloc] initWithURL:fileUrl inMode:UIDocumentPickerModeExportToService];
|
|
|
+ documentPickerVC.buttonColor = THEMECOLOR;
|
|
|
// 设置代理
|
|
|
documentPickerVC.delegate = self;
|
|
|
// 设置模态弹出方式
|
|
@@ -941,6 +942,7 @@ typedef NS_ENUM(NSInteger, CHOOSETYPE) {
|
|
|
self.downloadFileUrl = fileUrl;
|
|
|
|
|
|
KSDocumentViewController *documentPicker = [[KSDocumentViewController alloc] initWithURL:fileUrl inMode:UIDocumentPickerModeExportToService];
|
|
|
+ documentPicker.buttonColor = THEMECOLOR;
|
|
|
documentPicker.delegate = self;
|
|
|
documentPicker.modalPresentationStyle = UIModalPresentationFormSheet;
|
|
|
[self presentViewController:documentPicker animated:YES completion:nil];
|