Questions tagged [uiactivitycontroller]
12 questions
4
votes
1 answer
Share Image and text together on WhatsApp in swift
I share image and text using UIActivitycontroller it works fine for all application installed in device but in WhatsApp, it only share text not image. Why?
So, what i have to do share image and text together in WhatsApp in iOS.

Anjana Agrawal
- 41
- 1
- 2
2
votes
0 answers
UIActivityController crash when tapping on the Message app
I am writing the iOS app in objective C code and this is the method for action when user taps on a button on the barItem
- (void)tappedInToolbar:(MyToolbar *)toolbar shareButton:(UIButton *)button {
UIActivityViewController…

Ohmy
- 2,201
- 21
- 24
2
votes
0 answers
Click Save to image view controller dismissing from UIActivityController iOS 13 update
Need to download or save image to gallery while clicking save to image Presenting UIViewController dismissed after updating iOS 13. Need some solution for this

Gowri G
- 420
- 4
- 18
1
vote
1 answer
Trying to perform UISocialActivity but there is already an activity performing:
I am using main thread to show share options in iOS.
[url] is my PDF data. Every share option is working fine, except when user clicks on application which resign current application and go to third party(selected) application. For eg: If user…

pkc456
- 8,350
- 38
- 53
- 109
1
vote
2 answers
how to use web url image in activity controller to share image in swift
I'm using 'AlamofireImage' pod and show images in collection View cell but client want to share Image I'm using this but not working :
var shareImages = [UIImage]()
shareImages = [UIImage(named: "http://idea-factory.in/images/25-021.jpg")] as!…

Naveen Yadav
- 35
- 9
0
votes
1 answer
How to change UIActivityController view to forceRightToLeft always
UIActivityController view is not supporting rtl. I have set UIView.appearance().semanticContentAttribute = .forceRightToLeft in AppDelegate. If device language is English ActivityController is still opening in leftToRight instead of RightToLeft.
It…

Ishteyaque Ahmad
- 9
- 2
0
votes
1 answer
To Show Mail apps in UIActivityController in Swift - UIKit
I'm new to iOS App Development. Is it possible to show only the Mail apps which was installed in iPhone in the UIActivityController.

Harry
- 43
- 1
- 7
0
votes
1 answer
Add Image to UIActivityController
How do I add an image in the circled part of the UIActivityController? I don't need it included in the sharing part, I want to add it right there. I tried:
ac.tabBarItem.image = UIImage(named: "uLogo")
let items:[Any] = [UIImage(named: "uLogo"),…

tHatpart
- 1,302
- 3
- 12
- 27
0
votes
1 answer
How to programmatically trigger AirDrop with list of available devices
I have implemented UIActivityController with AirDrop action only according this thread: https://stackoverflow.com/a/54185547/13406256 and trigger it on needed place.
However, is there a way how to go one level "deeper" and trigger directly the list…
user13406256
0
votes
1 answer
can't both print and email from UIActivityController
I'm trying to share a ticket (my construct) to print and email using iOS UIActivityCoontroller. The ticket is formatted as both UISimpleTextPrintFormatter, and as attributed string. When the dialog is presented, I can get a choice to print, or to…

Ben Barlow
- 83
- 6
0
votes
1 answer
Removing activity items from UIActivityViewController after choose WhatsApp
I am implementing UIActivityViewController to share text and image through other apps. My problem starts when WhatsApp doesn't accept text and image together, so I want to remove text (if exists) when user chooses to share with WhatsApp.
How can I…

Thomás Pereira
- 9,589
- 2
- 31
- 34
0
votes
1 answer
UIActivityViewController whatsapp share dialog white text background
I am using below code to share some content. When I choose whatsapp option, I am seeing white background behind the texts. I am totally lost because UIActivityController handles presenting the share dialog. Any idea how to remove the white…

ugur
- 3,604
- 3
- 26
- 57