1

Is it possible to use a UIActivityViewController to share a location?

If it's possible then what type of location object do I need to send?

You can send a location via iMessage so I would assume that it's possible to do this somehow.

rmaddy
  • 314,917
  • 42
  • 532
  • 579
Mark Bridges
  • 8,228
  • 4
  • 50
  • 65
  • Did you try passing a `CLLocation` object to the `initWithActivityItems:applicationActivities:` method? I would try and see what happens before posting a question. – rmaddy May 26 '15 at 20:07
  • Also have a look at http://stackoverflow.com/questions/20064781/how-to-share-my-current-location-to-uiactivityviewcontroller – rmaddy May 26 '15 at 20:08
  • I believe you can do this by creating and sharing a .vcf card with `ABPerson` – rmp May 26 '15 at 20:14
  • I did try sending a CLLocation but it just shows up without any options. There are so many options it's difficult to know which to use. MKMapItem, CLLocation2D, CLLocation, MKPlacemark etc etc. – Mark Bridges May 27 '15 at 17:36
  • Did you it? @MarkBridges – Alexander Khitev Oct 11 '15 at 17:41

0 Answers0