python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
SwiftUI share sheet connection invalidated when creating new view
I have a ShareSheet on my app that works correctly, however when I create a new view I get the error
UIHostingController which is already presenting and connection invalidated . My error happens on a ...
user1591668
Votes: 0
Answers: 0
SwiftUI: Create a UIImage snapshot and use it as thumbnail in a shareSheet
I'm implementing snapshot sharing in iOS app, so the UIImage is created from the View and it is in the sharesheet and works fine, but I can't get to show this UIImage as a thumbnail is ShareSheet.
fun...

Roman R
Votes: 0
Answers: 1
SwiftUI [ShareSheet] connection invalidated. Attempt to present which is already presenting
I'm trying to create a share button in my app. App on SwiftUi, Xcode version 13.2.1, iPhone 15.2
If I use this code:
let url = URL(string: "https://example.com")
let activityController = UIA...
Ostap Suleymanovich
Votes: 0
Answers: 1
QLPreviewController sharesheet greyed out on iOS App
So the QuickLookPreview displays correctly as usual, but when you try and use the Apple built-in sharesheet it is sliding up a see-through grey view that is displaying nothing else on it. Has anyone h...

AMAN77
Votes: 0
Answers: 1