What is equivalent to Android content provider on iOS?

What is equivalent to the Android content provider in iOS?

Summary:

The content provider controls access to the central data warehouse. The provider is part of an Android application that often provides its own data interface. However, content providers are primarily intended to be used by other applications that access the provider using the provider client object. Together, service providers and service providers offer a consistent standard interface for data that also handles interprocess communication and secure data access.

Docs: http://developer.android.com/guide/topics/providers/content-providers.html

+1
android android-contentprovider ios
source share
2 answers

If I understand this link correctly, there is no equivalent.

In iOS, apps cannot share resources among themselves. For security reasons, each application has its own data and is isolated from accessing data in another application.

The only ways to exchange data between applications is to have some process of network synchronization between your applications or, perhaps, to use UIPasteBoard , but this is cumbersome. You can also transfer very limited data using the application URL scheme.

+2
source share

There is a way to share content between applications using keychain if you want on iOS. I think this is the closest I can think of, which is equivalent to the content provider in Android.

Good link here: http://shaune.com.au/ios-keychain-sharing-data-between-apps/

0
source share

All Articles