Browse Source

1.优化图片显示

huangxiaodong 10 months ago
parent
commit
330cdf9e28

+ 4 - 4
创维盒子/双子星云手机.xcodeproj/project.pbxproj

@@ -5459,7 +5459,7 @@
 				CODE_SIGN_ENTITLEMENTS = "计算器.entitlements";
 				CODE_SIGN_IDENTITY = "Apple Development";
 				CODE_SIGN_STYLE = Automatic;
-				CURRENT_PROJECT_VERSION = 4;
+				CURRENT_PROJECT_VERSION = 10;
 				DEVELOPMENT_TEAM = 6SV76WTUUR;
 				FRAMEWORK_SEARCH_PATHS = (
 					"$(inherited)",
@@ -5542,7 +5542,7 @@
 				CODE_SIGN_ENTITLEMENTS = "计算器.entitlements";
 				CODE_SIGN_IDENTITY = "Apple Development";
 				CODE_SIGN_STYLE = Automatic;
-				CURRENT_PROJECT_VERSION = 4;
+				CURRENT_PROJECT_VERSION = 10;
 				DEVELOPMENT_TEAM = 6SV76WTUUR;
 				FRAMEWORK_SEARCH_PATHS = (
 					"$(inherited)",
@@ -5740,7 +5740,7 @@
 				CODE_SIGN_IDENTITY = "Apple Development";
 				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
 				CODE_SIGN_STYLE = Manual;
-				CURRENT_PROJECT_VERSION = 12;
+				CURRENT_PROJECT_VERSION = 20;
 				DEVELOPMENT_TEAM = "";
 				"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 6SV76WTUUR;
 				FRAMEWORK_SEARCH_PATHS = (
@@ -5821,7 +5821,7 @@
 				CODE_SIGN_IDENTITY = "Apple Development";
 				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
 				CODE_SIGN_STYLE = Manual;
-				CURRENT_PROJECT_VERSION = 12;
+				CURRENT_PROJECT_VERSION = 20;
 				DEVELOPMENT_TEAM = "";
 				"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 6SV76WTUUR;
 				FRAMEWORK_SEARCH_PATHS = (

+ 1 - 1
创维盒子/双子星云手机/AppDelegate/AppDelegate.m

@@ -349,7 +349,7 @@
 - (void)imageLoadingSettings {
     [SDImageCache sharedImageCache].config.maxDiskAge = 3600 * 24 * 7;
     [SDImageCache sharedImageCache].config.maxMemoryCount = 1024 * 1024 * 20;
-    [SDImageCache sharedImageCache].config.shouldCacheImagesInMemory = NO;
+    [SDImageCache sharedImageCache].config.shouldCacheImagesInMemory = YES;
     //[SDImageCache sharedImageCache].config.shouldDecompressImages = NO;
     //[SDWebImageDownloader sharedDownloader].shouldDecompressImages = NO;
     [SDImageCache sharedImageCache].config.diskCacheReadingOptions = NSDataReadingMappedIfSafe;

+ 4 - 4
创维盒子/双子星云手机/AppDelegate/PrefixHeader.pch

@@ -102,12 +102,12 @@ isBangsScreen; \
 //#define shareService   @"http://testprivacy.phone.androidscloud.com:1801/h5/#/pages/fileSharing/index?productType=Private-X&token="
 
 //预生产环境
-#define CloudService   @"http://testprivacy.phone.androidscloud.com:10900"
-#define shareService   @"http://testprivacy.phone.androidscloud.com:10900/h5/#/pages/fileSharing/index?productType=Private-X&token="
+//#define CloudService   @"http://testprivacy.phone.androidscloud.com:10900"
+//#define shareService   @"http://testprivacy.phone.androidscloud.com:10900/h5/#/pages/fileSharing/index?productType=Private-X&token="
 
 //生产环境
-//#define CloudService   @"http://hiboxde.armclouding.com:7780"
-//#define shareService   @"http://hiboxde.armclouding.com:7780/h5/#/pages/fileSharing/index?productType=Private-X&token="
+#define CloudService   @"http://hiboxde.armclouding.com:7780"
+#define shareService   @"http://hiboxde.armclouding.com:7780/h5/#/pages/fileSharing/index?productType=Private-X&token="
 
 #define AESCODEKEEYY @"fvO8gAfNSr1tbdQe"
 

+ 3 - 3
创维盒子/双子星云手机/Class/Set/previewFile/addAudioToPlayListViewController.m

@@ -559,11 +559,11 @@
     
     //KWeakSelf
     /*弹窗提示恢复出厂*/
-    ComontAlretViewController *nextVC = [[ComontAlretViewController alloc] initWithTiTle:nil
+    ComontAlretViewController *nextVC = [[ComontAlretViewController alloc] initWithTiTle:@""
                                                                                      msg:NSLocalizedString(@"upload_download_need_read_msg",nil)
-                                                                                imageStr:nil
+                                                                                imageStr:@""
                                                                              cancelTitle:NSLocalizedString(@"guide_set_pwd_guide_know",nil)
-                                                                                 okTitle:nil
+                                                                                 okTitle:@""
                                                                         isOkBtnHighlight:NO
                                                                               didClickOk:^{
         

+ 1 - 1
创维盒子/双子星云手机/CloudPlayer/Model/couldPhoneFileListModel.m

@@ -19,7 +19,7 @@
     return  @{
             @"fileType" : self.fileType,
                 @"path" : self.path,
-                @"path" : self.path,
+                //@"path" : self.path,
                 @"name" : self.name,
               @"length" : @(self.length),
                 @"time" : @(self.time),

+ 1 - 1
创维盒子/双子星云手机/NAS/NASViewController.m

@@ -841,7 +841,7 @@
 {
     NSMutableDictionary *paraDict = [NSMutableDictionary new];
     
-    KWeakSelf
+    //KWeakSelf
     [[netWorkManager shareInstance] CommonPostCallBackCode:updateShareReportMarkFun Parameters:paraDict success:^(id  _Nonnull responseObject){
 //        SuperModel *ShareMarkMod = [[SuperModel alloc] initWithDictionary:responseObject error:nil];
 //        if(ShareMarkMod){

+ 7 - 7
创维盒子/双子星云手机/NAS/view/lastFileTableViewCell.m

@@ -192,13 +192,13 @@
         fileUrl = [fileUrl  stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
         
         [_mImageView sd_setImageWithURL:[NSURL URLWithString:fileUrl] placeholderImage:placeholderImage completed:^(UIImage * _Nullable image, NSError * _Nullable error, SDImageCacheType cacheType, NSURL * _Nullable imageURL) {
-//            if(image){
-//                //HLog(@"11图片1:%@",imageURL.absoluteString);
-//            }
-//            else{
-//                //HLog(@"11图片0:%@",imageURL.absoluteString);
-//
-//            }
+            if(image){
+                //HLog(@"11图片1:%@",imageURL.absoluteString);
+            }
+            else{
+                //HLog(@"11图片0:%@",imageURL.absoluteString);
+
+            }
             
         }];
     }