marinofaggiana 5 年之前
父節點
當前提交
a9532f63da
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      iOSClient/Main/NCDetailViewController.swift

+ 2 - 1
iOSClient/Main/NCDetailViewController.swift

@@ -97,7 +97,8 @@ class NCDetailViewController: UIViewController {
         coordinator.animate(alongsideTransition: nil) { _ in
             
             if let progressView = self.progressView, let navigationBar = self.navigationController?.navigationBar {
-                 progressView.frame = CGRect(x: 0, y: navigationBar.frame.height-self.progressHeight, width: navigationBar.frame.width, height: self.progressHeight)
+                progressView.frame = CGRect(x: 0, y: navigationBar.frame.height-self.progressHeight, width: navigationBar.frame.width, height: self.progressHeight)
+                progressView.transform = CGAffineTransform(scaleX: 1, y: progressHeight)
             }
         }
     }