mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-22 23:58:36 +01:00
Set bounds on share popover
This commit is contained in:
parent
60fb58ecaa
commit
bebf69ef74
@ -54,6 +54,7 @@ class ImageViewController: UIViewController {
|
||||
guard let image = image else { return }
|
||||
let activityViewController = UIActivityViewController(activityItems: [url!, image], applicationActivities: nil)
|
||||
activityViewController.popoverPresentationController?.sourceView = shareButton
|
||||
activityViewController.popoverPresentationController?.sourceRect = shareButton.bounds
|
||||
present(activityViewController, animated: true)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user