Reputation: 22959
Is it possible that AppA and AppB which are from the same developer share some local resources on a given device. For example they might use the same login credentials for some service.
Upvotes: 1
Views: 1076
Reputation: 2594
In 2023, I am using App Groups to share data between apps. An App Group allows multiple apps developed by the same team to access one or more shared containers. See Apple documentation here https://developer.apple.com/documentation/xcode/configuring-app-groups
Upvotes: 0
Reputation: 81878
Apps cannot share files.
But they can share keychain access to store login credentials using keychain-access-groups. You have to set this up in the "Entitlements" section in the project summary.
Upvotes: 2
Reputation: 4263
No you can not share resources on the device directly but you can let them sync by iCloud.
iCloud allows you share resources between different devices, so why not between different application on the same device?
Sure there are some restriction with this approach, e.g. network connection, data size,.. but for some UseCases this might be a approach
Upvotes: 1