Questions tagged [uiactivityviewcontroller]

The UIActivityViewController class is a standard view controller that you can use to offer various services from your application (on iOS).

The UIActivityViewController class is a standard view controller that you can use to offer various services from your application. The system provides several standard services, such as copying items to the pasteboard, posting content to social media sites, sending items via email or SMS, and more. Apps can also define custom services.

Resources:

1252 questions
0
votes
2 answers

Twitter preview sheet appears in English instead of language device on iOS 6 using ActivityViewController

I'm using the new ActivityViewController to give the user the possibility to share a message in Facebook or Twitter. I've changed the excludedActivityTypes property in order to show only the Facebook and Twitter buttons on the…
Carlos
  • 1,121
  • 12
  • 26
0
votes
2 answers

UIActivityViewController

I have a problem with the UIActivityViewController on iPad Here is my Code: NSString* someText = @"Hi, I am using the official iEveryThing Tech app #iEveryTech"; NSString* Website = [NSURL…
David Gölzhäuser
  • 3,525
  • 8
  • 50
  • 98
0
votes
2 answers

Special Pop Up View in iPhone SDK with UICollectionCells

I've quite throughly looked around for the name of what type of UIActionSheet this is. Or if it's even totally custom. With the cancel button there, it seems like it's a UIActionSheet, and the section above it is a UICollectionView. As much as…
jakenberg
  • 2,125
  • 20
  • 38
0
votes
4 answers

Apple Mach-O Linker error (APActivityIcon)

I've a problem! Sorry I'm new to programming and I dont know what to do. I implemented some code, to customize my ActivitiViewController. I created a new class, which I linked to my code: - (IBAction)share:(id)sender { Class avcClass =…
0
votes
2 answers

Issue with UIActivityViewController iOS6

I am using UIActivityViewController to show the sharing sheet for the devices with iOS6, but the issue is that Until I am logged in to facebook, twitter in Settings, Facebook and twitter options will not be display while sharing? Is there any…
Srikanth
  • 1,861
  • 17
  • 29
-1
votes
0 answers

How to set up sender, subject, and body massage for mail apps from UIActivityViewController?

I have an issue with the UIActivityViewController. In my app, I have a screen with a feedback section, and I want to show the activity popup when the user presses the "send feedback" button and then displays the correct subject, sender, and body…
NexusUA
  • 217
  • 1
  • 3
  • 13
-1
votes
1 answer

UIActivityViewController handle Cancel action | Swift/Xcode

I can't find complete code in Swift of how to execute an action when the user presses the "x" in a UIActivityViewController (top right), cancelling the share. This is what I currently have: do { try pdfData.write(to:…
-1
votes
2 answers

Sharing photos with UIActivityViewController

how to share a grid of images (photos) in an application for iOS? I know i must use UIActivityViewController, but i don't find the right way to write the code , il want to use a swipe gesture to push my grid and open a window with the applications…
-1
votes
1 answer

App crashes when presenting UIActivityController in iPad

I have create a view in my app and once a button is clicked the UIActivityController should popup on screen. however, the app crashes only on iPad but on iPhone it is working fine. Anyone knows whats this behavior and how to fix it? this is the code…
ShaEi
  • 3
  • 1
-1
votes
1 answer

UIImageView content is not shared

I have this piece of code in my app guard let codeImage = imgQRCode.image else { return } PHPhotoLibrary.requestAuthorization({status in DispatchQueue.main.async { if status == .authorized { let ac…
Dawy
  • 770
  • 6
  • 23
-1
votes
1 answer

My iOS app crashes trying to display a UIActivityViewController

Basically I have an app that takes in user input (in 5 textfields in an alertcontroller) that are all concatenated in to a string to be in a form that looks like it is a row in a csv file and stored to coredata as an entity. This entity will then be…
danaq
  • 117
  • 11
-1
votes
1 answer

How to customize activityController Swift

I am trying to customize UIActivityViewController but i really confused how to customize. Code: let image = UIImage(named: (self.userProfileModel!.userdata?.image)!) ?? #imageLiteral(resourceName: "app_logo_v6-2") let text = "Discription:…
user10716439
-1
votes
1 answer

Can't see Reminders app option in UIActivityViewController

I have a comma-separated string like this: "Banana,Cake". I want to share this string to the Reminders app through UIActivityViewController, but while opening the controller, I can't see an option for Reminders there. I have seen it in the YouTube…
-1
votes
2 answers

Is there any limit with number of images I can share with UIActivityViewController?

Here , Is the code of sharing 10 images on whatsApp Using UIActivityController, when i am add 11th images the WhatsApp Icon on UIActivityController not display .so is there any limit in UIActivityController to Share only 10 or Less than 10 images…
-1
votes
1 answer

iOS 10 iPhone custom sound as Ringtone

I want to set a custom ringtone from my iOS app. Is adding a ringtone possible in the UIActivityController? I've seen examples of it before, but I haven't been able to do it myself. Reference images: img1img2img3 Please help me if you have better…
Ekta Padaliya
  • 5,743
  • 3
  • 39
  • 51