Skip to main content

All Questions

1 vote
1 answer
695 views

Sharing text and Url to Facebook Messenger with UIActivityViewController but failing

I want to share both text and url to Facebook Messenger using UIActivityViewController. But when i success send and open my Messenger, i only get url. Is it possible send text and url to Facebook ...
Jim's user avatar
  • 13
-2 votes
1 answer
271 views

Sharing image from camera roll with Instagram, Facebook

I have an AR app, developed xcode 9 using ARKit. I have a button which takes a screenshot of the users view and it saves the image done to the photos (camera roll). I would now like to have a share ...
Tim Anderson's user avatar
1 vote
0 answers
363 views

Sharing a URL via UIActivityViewController on Facebook Messenger Broken

I have been using UIActivityViewController succesfully for posting content to twitter, linkedin etc. However when attempting to do so with Facebook Messenger I get a very peculiar behaviour. Even ...
Return-1's user avatar
  • 2,439
1 vote
1 answer
1k views

UIActivityViewController share image only for FB, Twitter and Mail, but not messages

So I am using the following code to get the text for all the UIActivityTypes. @objc func activityViewControllerPlaceholderItem(activityViewController: UIActivityViewController) -> ...
SoundShock's user avatar
0 votes
0 answers
307 views

UIActivityViewController - Facebook, works perfectly on simulator, but not on a device

When I run through the Xcode simulator, I can post both a picture and a url. One a device, however, I get an entirely different dialog. I've used another example on here to illustrate the code ...
VinnieD's user avatar
1 vote
1 answer
3k views

share link and image by UIActivityViewController Swift issue

I want to add in my app sharing with socials and other apps , for this reason I added UIActivityViewController in this way: var url : NSURL = NSURL(fileURLWithPath: "http://maps.google.com/?ll=\(self....
gino gino's user avatar
  • 259
2 votes
3 answers
2k views

Can't share screenshot & URL in Facebook using UIActivityViewController

I am using UIActivityViewController to share text, a screenshot and a URL. It works fine for Twitter, email, SMS etc. In fact everything except Facebook. As I understand it, Facebook no longer ...
Eatton's user avatar
  • 565
15 votes
4 answers
27k views

Swift UIActivityViewController Image&Url Share not working with FB

I am using UIActivityViewController to share image. After the Facebook recent changes . I am able share an image and Url individualy but i am unable to share both image and url at a time. The same ...
Chandu kumar.Alasyam's user avatar
7 votes
5 answers
16k views

UIActivityViewController share only text

I want to share just simple text using UIActivityViewController I am using swift, with xcode 6.3 The code is very simple, work great for photos, but not just text, I don't want to include any web URL ...
user3728728's user avatar
5 votes
3 answers
5k views

iOS 8.1 Swift UIActivityViewController does not show social media share (Facebook, twitter, WhatsApp etc)

I'm trying to link sharing functionality into my swift app but am having a problem. I'm using UIActivityViewController to share an image and text, but the only options available are these: I would ...
Gmeister4's user avatar
  • 754
0 votes
1 answer
228 views

Unable to post QR Code Image on Facebook with swift

I am creating a QR Code reader application and once the QR Code Image is created then user can post it on faceBook.here is my code for It: import UIKit import Social import MobileCoreServices class ...
Dharmesh Kheni's user avatar
3 votes
0 answers
764 views

How to share a video from UIActivityViewController to Vimeo or Facebook using Swift

I'm trying to share a video to Vimeo and or Facebook. I'm able to do it from the Library, but when I try to create it in code, it fails this far I have tried this func showSheet() { let ...
user379468's user avatar
  • 4,019