                 let rect = view.convert(self.view.frame, to: activityViewController.view)
                 let x = activityViewController.view.bounds.size.width - rect.size.width - rect.origin.x
                 let y = activityViewController.view.bounds.size.height - rect.size.height - rect.origin.y
+                self.fullScreenViewController!.modalPresentationStyle = .fullScreen
                 activityViewController.present(self.fullScreenViewController!, animated: false, completion: {
                     self.view.removeFromSuperview()
                     self.fullScreenViewController!.view.addSubview(self.view)

            self.view.frame = self.fullScreenViewController!.view.bounds
            self.fullScreenViewController!.view.addSubview(self.view)
            self.fullScreenViewController!.view.sendSubviewToBack(self.view)
            activityViewController.present(self.fullScreenViewController!, animated: animated, completion: {
                self.floatContainer?.hidden()
                self.setControlsHidden(false, animated: true)

                    })
                })
            }else{
                self.fullScreenViewController!.modalPresentationStyle = .fullScreen
                activityViewController.present(self.fullScreenViewController!, animated: false, completion: {
                    self.view.removeFromSuperview()
                    self.fullScreenViewController!.view.addSubview(self.view)
