last day (83 days later) » 

11:55 AM
hi
 
Hi
how are you?
 
hello
i have a little functioin
try it
 
yes please tell me
 
func showShareActivityController(image: UIImage){
    let img: UIImage = image
    let shareItems:Array = [img]
    let activityViewController:UIActivityViewController = UIActivityViewController(activityItems: shareItems, applicationActivities: nil)
    activityViewController.excludedActivityTypes = [UIActivityType.print, UIActivityType.postToWeibo, UIActivityType.copyToPasteboard, UIActivityType.addToReadingList, UIActivityType.postToVimeo]
    self.present(activityViewController, animated: true, completion: nil)
 
12:13 PM
Actually my requirement is
Share text and image in Facebook , Twitter and Instagram
only image will work in Instagram. But I want text and image both in Instagram
 
oh well
you have to add it to the sharedItems
[img,text]
 
I did
 
didn't work?
 
when I added text then Instagram is not displaying in UIActivityController
 
mhm
let me look one of my old codes
i'm afraid you cannot do it with activitycontroller
i did it with UIDocumentInteractionController
add an extra button for sharing with instagram
if the user selected it, do it with UIDocumentInteractionController
my suggestion would be do a little trick
otherwise use UIActivityController
 
12:20 PM
ok
thanks for your help
 
your welcome
have agood day
 
if I have a questions I will let you know
 
sure
 
you too have a good day
 
1:17 PM
Hi there, i'm creating a pod for the sake of learning and i'm looking for a documentation/tutorial/tips on how to use CoreData in a pod.
for IOS
thx in advance if you can help me :)
 

  last day (83 days later) »