ソースを参照

1.图片预览修改

huangxiaodong 1 年間 前
コミット
327ab87884
共有1 個のファイルを変更した2 個の追加1 個の削除を含む
  1. 2 1
      创维盒子/双子星云手机/Class/Set/previewFile/imageDetailsScrollViewController.m

+ 2 - 1
创维盒子/双子星云手机/Class/Set/previewFile/imageDetailsScrollViewController.m

@@ -101,9 +101,10 @@
     _curScrollView = [SDCycleScrollView cycleScrollViewWithFrame:CGRectZero imageURLStringsGroup:imageURLStringsGroup];
     _curScrollView.autoScroll = NO;
     _curScrollView.infiniteLoop = NO;
+    _curScrollView.bannerImageViewContentMode = UIViewContentModeScaleAspectFit;
     //_curScrollView.placeholderImage = [UIImage imageNamed:@"uploadFile_image"];
     [self.view addSubview:_curScrollView];
-    _curScrollView.backgroundColor = [UIColor lightGrayColor];
+    _curScrollView.backgroundColor = [UIColor blackColor];
     //_curScrollView.hidden = YES;
     
     [_curScrollView mas_makeConstraints:^(MASConstraintMaker *make) {