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

How to share via Facebook or Twitter without edit-message view via UIActivityViewController?

I'm using UIActivityViewController to sharing messages from my app via Facebook or Twitter. I want to share message without changing content of this message. When I'm using UIActivityViewController after select type of sharing e.g. Twitter then iOS…
Tomasz Szulc
  • 4,217
  • 4
  • 43
  • 79
0
votes
1 answer

UIActivityViewController customisation: border and background color

I would like to know if it is possible to customize the background color and border color of this component ? I would like to replace the semi black color with white..
fvisticot
  • 7,936
  • 14
  • 49
  • 79
0
votes
1 answer

uiactivityviewcontroller from toolbar

I´m trying to use the following code in my app to get the uiactivityviewcontroller, and it works if I set up a round rect button, but not with a UIBarButtonItem? Am I missing something really simple here? - (IBAction)shareIt:(id)sender { …
Pierre
  • 160
  • 2
  • 11
0
votes
1 answer

iOS Style Buttons in share sheet

Is there anyway to style the buttons for the Mail sheet created from a UIActivityViewController Share screen is called via this code -(void)shareLink:(id)sender{ Post *post = [self.linkViewItems objectAtIndex:self.swipedPath.row]; NSMutableString…
Nick
  • 1,315
  • 9
  • 16
0
votes
0 answers

if i can share content of other app to my app

using uiactivity ,i can share content of my app to Facebook,twitter,email. UIActivityViewController *activityController = [[UIActivityViewController alloc] initWithActivityItems:activityItems …
pengwang
  • 19,536
  • 34
  • 119
  • 168
0
votes
1 answer

(iOS 6) Using a custom subclass of UIActivity from outside of a UIActivityViewController

I have added sharing to my app by way of iOS 6's UIActivityViewController. In addition to the usual suspects (Twitter, Facebook, etc.) I am also using a subclass of UIActivity I created to enable sharing to another service (App.net). Everything is…
Donald Burr
  • 2,281
  • 2
  • 23
  • 31
0
votes
1 answer

how can i attach image to uiactivityviewcontroller message ios?

How can attach an image to UIActivityViewController message type. If it is not possible by programatically, then tell me how to copy and paste image to pasteboard. here is my code. UIImage *image = photoView.image; UIPasteboard *pasteboard =…
manujmv
  • 6,450
  • 1
  • 22
  • 35
0
votes
2 answers

UIActivityViewController Create Separate Mail icon

I am trying to create a UIActivityViewController that lets the user send in feedback about the current web page that is being viewed. I want to have a separate button from the Mail icon to pop up with a compose window with a recipient set, subject…
user1941966
  • 449
  • 5
  • 18
0
votes
1 answer

How to ensure the item of a UIActivityItemProvider is ready when UIActivityViewController presents it?

According to the docs [UIActivityItemProvider item] is run on a secondary thread. This is great for not locking up the UI, but I am finding that it does not always complete by the time the item is shown, for instance in a Mail compose screen. I am…
akaru
  • 6,299
  • 9
  • 63
  • 102
0
votes
1 answer

How to save the user's email recipients when sending email with UIActivityViewController?

I'm using UIActivityViewController and when the user selects email from the list of options is there a way to save the email recipients that the user inputs? Do I need to subclass ActivityItemSource as was done here? I realize getting the email…
0
votes
1 answer

UIActivityViewController - can't understand this memory leak

Can someone please tell me why the following code is leaking in Instruments? UIActivityViewController *activityController = [[UIActivityViewController alloc] initWithActivityItems:activityItems…
Eyal
  • 10,777
  • 18
  • 78
  • 130
0
votes
1 answer

Custom UIActivity with the built-in Mail appearance

I wish to use a UIActivityController with the standard activities to share a UIImage. However when the user selects Mail I'd like to do my own logic: present a form to let the user select a few options, and then compose the email myself so that I…
Clafou
  • 15,250
  • 7
  • 58
  • 89
0
votes
2 answers

Using a URL to share an image with iOS 6 and UIActivityViewController

I am using iOS 6's UIActivityViewController. I would like to share an image that is not available locally on my iPhone, but that it is available on a remote URL. NSString *textToShare = _eventoTitle; UIImage *imageToShare = [UIImage…
0
votes
1 answer

UIActivityViewController share UIActivity not shown

I am using UIActivityViewController for camera roll image sharing: UIActivityViewController *activityController = [[UIActivityViewController alloc] initWithActivityItems:activityItems applicationActivities:nil]; [self…
ttotto
  • 826
  • 3
  • 13
  • 31
0
votes
1 answer

How to tag a Facebook page using UIActivityViewController

I am using UIActivityViewController to post to Facebook in iOS 6 and have that working fine. However, when I try to tag a Facebook page by including @pagename in the message, the raw text '@pagename' is posted and is not linked to the page. I am…
lehn0058
  • 19,977
  • 15
  • 69
  • 109