-1

像这样在团队中共享错误模式

我已经实现了 UIActivityController,我在其中共享图像以及链接,但在将图像共享到任何应用程序时不包括图像,并且仅将图像用于将其保存到相机胶卷。当我尝试与 Microsoft Teams 共享时,我可以看到这是随机发生的(不一致)。这个问题的原因可能是什么?谢谢你 :)

4

1 回答 1

0

试试看:

        if UIDevice.current.userInterfaceIdiom == .phone {
            present(activityView, animated: true) {
            }
        } else {
            // Change Rect to position Popover
            popup = UIPopoverController(contentViewController: activityView)
            popup.present(from: CGRect(x: view.frame.size.width / 2, y: view.frame.size.width / 2, width: 100, height: 100), in: view, permittedArrowDirections: .any, animated: true)
        }
于 2020-01-16T17:00:59.467 回答