Steven 1 月之前
父節點
當前提交
ccae54126c
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      KulexiuForTeacher/KulexiuForTeacher/Common/Base/WebView/KSBaseWKWebViewController.m

+ 2 - 0
KulexiuForTeacher/KulexiuForTeacher/Common/Base/WebView/KSBaseWKWebViewController.m

@@ -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];