uiactivityviewcontroller Questions
16
Solved
I want to let the user to be able to share a location but I don't know how to show UIActivityViewController in SwiftUI.
Cordiacordial asked 10/6, 2019 at 21:8
5
I made an app for iPhone. Now, I'm recreating it for iPad.
When the user selects the action button in the toolbar, a popover should show with a UIActivityViewController, but for some reason, it's ...
Zoologist asked 17/12, 2012 at 1:14
3
Solved
I'm using iOS 6 new way to share information : UIActivityViewController. To select the shared data depending on the media (facebook, twitter or mail) my view controller implement the UIActivityItem...
Koral asked 23/10, 2012 at 11:21
5
In an app I use white as the main tint color. If the user opens the UIActivityViewController, I set the tint color for the controller to the standard iOS blue. This works great for the activity vie...
Lahomalahore asked 27/9, 2015 at 10:52
6
Solved
I'm wondering if there is a good way export or share a file through SwiftUI. There doesn't seem to be a way to wrap a UIActivityViewController and present it directly. I've used the UIViewControlle...
Decastyle asked 29/6, 2019 at 17:7
5
Solved
I am making a share function in my game and I have the code and it works fine on iPhone but when I test it on a iPad, when I tap the share button the app crashes. I am using the following code for ...
Scurf asked 9/4, 2015 at 23:34
3
In my application, I have added my share extension it's working fine, But I face One problem When I invite app through UIActivityViewController I show my application Extension. How can I hide my ap...
Reactivate asked 16/1, 2018 at 15:11
7
Solved
I started my search by wanting to know how I could share to other apps in iOS. I discovered that two important ways are
UIActivityViewController
UIDocumentInteractionController
These and other...
Territorialize asked 11/3, 2016 at 3:59
5
Solved
I have come across what looks like a situation that most people face when trying to present a UIActivityViewController on the iPad; it is crashing with:
Terminating app due to uncaught exception '...
Obsolescent asked 26/11, 2015 at 16:7
7
Solved
I have been using the code below to show a UIActivityViewController which worked fine when I was using Xcode 6, Swift 1.2 and iOS 8. However when I updated it shows the UIActivityViewController but...
Mckinley asked 1/10, 2015 at 14:7
2
I am using UIActivityViewController to share a PDF file:
let pdfFilePath = URL(string: "https://www.tutorialspoint.com/swift/swift_tutorial.pdf")
let pdfData = NSData(contentsOf: pdfFilePath!)
let...
Fetor asked 31/1, 2019 at 11:49
2
Solved
When an external app is launched using UIActivityViewController, can we detect which app was used in the completionHandler?
In Apple's documentation, there is mention of a property UIActivity.Acti...
Verduzco asked 30/11, 2018 at 3:44
1
Solved
Background
The function shareImage() in the code below launches the UIActivityViewController and shares an image, for example sends to Messages or saves to Photos.
After the image is shared, UIActi...
Seabrooke asked 28/9, 2021 at 19:37
9
Solved
I'm trying to implement “Save image to Library” function and then return back to the current view controller, but on a new iOS 13 it dismisses back to the view controller that presented the current...
Wistful asked 5/7, 2019 at 12:26
14
Solved
I'm trying to recreate a Modal just like Safari in iOS13 in SwiftUI:
Here's what it looks like:
Does anyone know if this is possible in SwiftUI? I want to show a small half modal, with the opti...
Complicated asked 21/6, 2019 at 9:37
21
Solved
I am currently testing my app with Xcode 6 (Beta 6). UIActivityViewController works fine with iPhone devices and simulators but crashes with iPad simulators and devices (iOS 8) with following logs
...
Armyworm asked 3/9, 2014 at 12:15
9
I just got this bug report for me app...the activity view controller is suddenly this weird narrow shape whether I'm on an actual phone or the view controller.
This is happening with some plain ...
Ocam asked 4/3, 2016 at 20:24
2
Solved
I want to share an URL file that has been created in the app and a text. But it seems it only can share text and not any data like URL or UIImage.
The code I am using:
let sharedVideo = Video(Titl...
Upwards asked 22/10, 2016 at 11:4
4
Solved
Sharing a image from UIImageView using UIActivityViewController?
I am trying to share a image using UIActivityViewController, but I get error:
func shareIMG(){
let activityItems = [self.imageVie...
Chuvash asked 12/8, 2015 at 2:35
5
I am creating a UIActivityViewController and trying to change its text color after tapping the share messages icon.
By default, I set my navigation bar text colors to white in the AppDelegate lik...
Sauter asked 2/6, 2017 at 18:44
2
Is it possible to return multiple values from UIActivityItemSource function, and pass them to UIActivityViewController's activityItems?
I want to return [message, image, url] array and pass to act...
Skepticism asked 4/12, 2018 at 4:7
4
I'm trying to present a UIActivityViewController (share sheet) from a SwiftUI View. I created a view called ShareSheet conformed to UIViewControllerRepresentable to configure the UIActivityViewCont...
Rossetti asked 8/10, 2019 at 12:26
4
Solved
The new share sheet on iOS13 shows a preview/thumbnail of the item being shared on its top left corner.
When sharing an UIImage using an UIActivityViewController I would expect a preview/thumbnail...
Cordovan asked 9/9, 2019 at 8:39
4
Solved
I am developing an application and want to share images videos and other files saved into my document directory using uiactivityviewcontroller. images and files sharing is working properly.
Code f...
Lamppost asked 23/8, 2017 at 9:36
4
Solved
My app is not Live yet. I got the app ID from the App Store Connect. I want to share the app link on social media apps. I used the UIActivityViewController:
let string1 = "itms-apps://itunes.a...
Capillarity asked 8/3, 2016 at 7:59
1 Next >
© 2022 - 2025 — McMap. All rights reserved.