Is this possible to share data between two applications on the same device?
Or can I allow some other application to use my application’s information / data or in any other way?
For example, the first application is for event management, and I use it to save some event. The second application is for reminders, which will get data from the other application in order to remind me about the event.
This is just a simple example, not a real scenario.
Historically, the iPhone has tried to prevent data sharing between apps. The idea was that if you couldn’t get at another app’s data, you couldn’t do anything bad to that app.
In recent releases of IOS, they’ve loosened that up a bit. For example, the iOS programming guide now has a section on passing data between apps by having one app claim a certain URL prefix, and then having other apps reference that URL. So, perhaps you set your event app to answer “event://” URLs the same way that a webserver answers for “http://” URLs.
Apple’s documentation of that approach is here.
Have a peek under “Implementing Custom URL Schemes”.