0

I have to send data which is present in an dictionary from one application to another application, which has to used over there.

Please help.

2 Answers2

1

I am not exactly sure about how to do it but I think you might need to use the Custom URL Schemes for that. Here is a link that can help you register your URL Scheme and then using it.

Farrukh Javeid
  • 634
  • 6
  • 25
0

At least you can pass it as a string parameter of custom url (like thesecondapp://data_string_goes_here) and then parse it from within the app you pass it to

See how to encode NSData to NSString here.

EDIT: You should also take a look at application:openURL:sourceApplication:annotation: method implementation examples. It could be a bit more sophisticated but it seems to be more 'native' than just passing a raw string. Here is the info how to call the 'counterpart' of this method from another app.

Community
  • 1
  • 1
knuku
  • 6,082
  • 1
  • 35
  • 43