1

I have an existing iOS application on the app store, and I am building a new companion app to work with this existing app.

I need to pass objects/data from this new app to my existing app when a certain action is taken. The behaviour I'm looking for is very similar to AirDrop but the data is passed to another app on the same device.

The objects I want to pass locally between apps are simply NSObject's.

Christian Gossain
  • 5,942
  • 12
  • 53
  • 85

1 Answers1

2

As per your comment you wants to share NSObjects between your iOS apps. The best approach would be "Custom URL Schemes". But in this approach you may need to add or re write some parts in your old iOS App as well.

checkout this SO Answer for more info on implementing custom url scheme and history of sharing data between ios apps.

Apple documentation for sharing data is also available.

If your app supports greater than iOS 8 you can also use the new feature called "App Group Functionality"

Community
  • 1
  • 1
Bluewings
  • 3,438
  • 3
  • 18
  • 31