Using iOS Mail app:
- I can select a KML email attachment in the iOS mail app.
- When the AirDrop page appears, Open in Google Earth is one of the choices.
How can I make my app work the same as iOS mail app?
When I use UIActivityViewController and create a NSURL to the local KML file, the AirDrop page appears displaying Mail, Facebook, Gmail, but NOT "Open in Google Earth" ?
NSURL* urlToLocalKmlFile=[NSURL fileURLWithPath:localKmlFilePath];
NSArray *objectsToShare = @[urlToLocalKmlFile];
activityViewController = [[UIActivityViewController alloc]
initWithActivityItems:objectsToShare
applicationActivities:nil];
How does iOS Mail share a KML file attachment with Goggle Earth or a PDF file attachment with Adobe Acrobat?
Thanks in advance for any tips or suggestions, -Ed