소스 검색

new share view

marinofaggiana 5 년 전
부모
커밋
eb6e6f9e84
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      iOSClient/Share/NCShareCommon.swift

+ 2 - 2
iOSClient/Share/NCShareCommon.swift

@@ -95,8 +95,8 @@ class NCShareCommon: NSObject {
         var shareUserMenuView: NCShareUserMenuView
         let window = UIApplication.shared.keyWindow!
         let viewWindow = UIView(frame: window.bounds)
-        //let globalPoint = shareViewController.view.superview?.convert(shareViewController.view.frame.origin, to: nil)
-        //let constantTrailingAnchor = window.bounds.width - shareViewController.view.bounds.width - globalPoint!.x + 40
+//        let globalPoint = shareViewController.view.superview?.convert(shareViewController.view.frame.origin, to: nil)
+//        let constantTrailingAnchor = window.bounds.width - shareViewController.view.bounds.width - globalPoint!.x + 40
         var constantBottomAnchor: CGFloat = 10
         if #available(iOS 11.0, *) {
             constantBottomAnchor = constantBottomAnchor + UIApplication.shared.keyWindow!.safeAreaInsets.bottom