Marian
Marian

Reputation: 11

Many apps using one store in iOs

How to make that, many applications from the same developer will use same store. It would be very usefull in case of synchronization procedures with use same data from same database. Is it even possible to do this?

I guess I have to do something with boundle identyfier. Maybe something with * mark.

Regards, David

Upvotes: 1

Views: 483

Answers (2)

Julio Gorgé
Julio Gorgé

Reputation: 10106

It's not possible, the furthest you can go is sharing keychain items among your applications:

It is now possible for you to share Keychain items among multiple applications you create. Sharing items makes it easier for applications in the same suite to interoperate more smoothly. For example, you could use this feature to share user passwords or other elements that might otherwise require you to prompt the user from each application separately.

Sharing Keychain items involves setting up the proper entitlements in your application binaries. Using Xcode, you must create an Entitlements property list file that includes the supported entitlements for your application. The process for creating this file is described in iOS Development Guide. For information about the entitlements you can configure, see the description for the SecItemAdd function in Keychain Services Reference.

Accessing shared items at runtime involves using the Keychain Services programming interface with the access groups you set up during development. For information about how to access the Keychain, see Keychain Services Programming Guide.

See http://developer.apple.com/library/ios/#releasenotes/General/WhatsNewIniPhoneOS/Articles/iPhoneOSv3.html

Upvotes: 4

MJeffryes
MJeffryes

Reputation: 458

Impossible. All apps are sandboxed.

Upvotes: -1

Related Questions