[ad_1]
I’m utilizing important thread to indicate share choices in iOS.
[url] is my PDF information. Each share possibility is working high-quality, besides when person clicks on software which resign present software and go to 3rd occasion(chosen) software. For eg: If person clicks on share button, then google chrome; chrome software will open. And when person comes again to unique software, person is just not in a position to faucet different choices of UIActivityViewController. Why is that this taking place. On console, I get beneath warning (no crash):
[ShareSheet] Attempting to carry out <UISocialActivity: 0x282b64a50>
activityType:com.apple.mobilenotes.SharingExtension
activityTitle:UISocialActivity however there may be already an exercise
performing:<SHSheetActivityPerformer: 0x283f427d0>
let ac = UIActivityViewController(activityItems: [url], applicationActivities: nil)
DispatchQueue.important.async {
self.current(ac, animated: true)
}
[ad_2]
