浏览代码

new view image

marinofaggiana 4 年之前
父节点
当前提交
44c76decad
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      iOSClient/Viewer/NCViewerImage/NCPhotoPageContainerViewController.swift

+ 1 - 1
iOSClient/Viewer/NCViewerImage/NCPhotoPageContainerViewController.swift

@@ -155,7 +155,7 @@ extension PhotoPageContainerViewController: UIPageViewControllerDelegate, UIPage
             return nil
         }
         
-        let vc = UIStoryboard(name: "Main", bundle: nil).instantiateViewController(withIdentifier: "\(PhotoZoomViewController.self)") as! PhotoZoomViewController
+        let vc = UIStoryboard(name: "NCViewerImage", bundle: nil).instantiateViewController(withIdentifier: "\(PhotoZoomViewController.self)") as! PhotoZoomViewController
         vc.delegate = self
         vc.image = self.photos[currentIndex - 1]
         vc.index = currentIndex - 1