Bladeren bron

Merge branch 'master' of https://git.yishihui.com/iOS/Introduce

* 'master' of https://git.yishihui.com/iOS/Introduce:
  修改 UI
  不显示高亮状态
harry 3 jaren geleden
bovenliggende
commit
8637d438cc
2 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. 1 1
      Introduce/Record/INIntroduceController.swift
  2. 1 0
      Introduce/Record/INVideoExportController.swift

+ 1 - 1
Introduce/Record/INIntroduceController.swift

@@ -79,7 +79,7 @@ class INIntroduceController: BFBaseViewController {
             BFEventTrackAdaptor.baseReportUpload(businessType: .bt_buttonClick, objectType: .ot_captionsButton, pageSource: .sp_speekPage,extParams: isOn ? ["on":true] : ["off" : true],commonParams: commonParams())
         }
         if assets != nil, (assets?.count ?? 0) > 1 {
-            stripSwithView = BFStripSwithView(frame: CGRect(x: (backButton?.frame.maxX ?? 0), y: 0, width: exportBtn.frame.minX - (backButton?.frame.maxX ?? 0) - 10, height: cDevice_iPhoneNavBarHei), items: assets?.count ?? 1)
+            stripSwithView = BFStripSwithView(frame: CGRect(x: (backButton?.frame.maxX ?? 0), y: 0, width: exportBtn.frame.minX - (backButton?.frame.maxX ?? 0) - 10, height: cDevice_iPhoneNavBarHei), items: assets?.count ?? 1,space: 4)
             stripSwithView?.center.y = backButton?.center.y ?? 0
             stripSwithView?.itemClickHandle = { [weak self] _, index in
                 self?.recordScreenVC.updateContentOffset(index: index)

+ 1 - 0
Introduce/Record/INVideoExportController.swift

@@ -95,6 +95,7 @@ class INVideoExportController: BFBaseViewController {
         btn.titleLabel?.font = UIFont.boldSystemFont(ofSize: 16)
         btn.setImage(UIImage(named: "export_btn"), for: .normal)
         btn.adjustsImageWhenDisabled = true
+        btn.adjustsImageWhenHighlighted = false
         btn.backgroundColor = ThemeStyleColor
         btn.addCorner(roundingCorners: .allCorners, corner: 8)
         btn.addTarget(self, action: #selector(saveToPhotoNow), for: .touchUpInside)