浏览代码

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