iCloud for all users of my app? - nsuserdefaults

My first app is waiting approval in the store, wish me luck. My question:
I bundle in a collection of presets, logos and URLs, several dozen, to make adding new entries easy. I want to be able to rev this list of presets for all installed users without having to release a new app version to do it. Right now the presets are part of the bundle but it would be the work of minutes to make them into a KV store like NSUserDefaults. I could send this latest list to iCloud and all users of my app could sync to the latest list of presets.
But I've researched and I find nothing about doing this. Revving the app is a very large hammer for a collection of presets and I would like to be able to update the list regularly.
Is there a way to do this? Thanks for all the help I've gotten here.

iCloud is a store on your entitlement but its not a shared resource each user will have your app id in there iCould storage but you can not push data to each user over iCloud you wont have access to iCloud storage of your users. you can store data in you users documents folder in your app sandbox and you could use push notification to tell your app to download more content Im not too sure and what you can add the the main bundle after the is shipped

Related

Can you use CloudKit to access a user's contacts from a React/Django project?

I have a react/django project and we need to somehow access the contacts of our users. I was told to look into CloudKit's API in order to take care of this, however there seems to be no real information in their docs or in my Google searches on using this API to specifically access a user's contacts.
I am open to other suggestions as well. The ideal would be to access their contacts initially and then every so often compare their contacts to our list to see if any have been added.
You cannot access this data from a third-party app via a CloudKit API.
While Apple does store a user's contacts on CloudKit, they do so under these conditions:
The user opts-in to sync their contacts with iCloud (this isn't required for iOS users; they can be on-device only, or sync with another service like Google).
The contacts Apple stores on CloudKit are in a container that is private to Apple.
When you use CloudKit as a developer, you are creating a container for your app. You can only access data in containers you create.
Here's what you would have to do:
Create an iOS or macOS app that requests/manages access to the user's contacts.
Add the Contacts entitlement to your target in Xcode: Signing & Capabilities > App Sandbox > App Data > Contacts
Use Apple's Contacts framework to access contact data using Swift in your iOS/macOS app.
Once you have the data in your Swift app, communicate with your Django API to do what you need to.
One last thing. If you choose to go this route, you will have to reveal in your app privacy disclosures (in App Store Connect) what you are doing with the users' data.

Upload Previously Uploaded App To New App Store Account

I have an application for a client uploaded to my own apple store account. After several years, he want it to be uploaded to his own store account. Since the app has push notification feature in it, I can't just transfer the ownership to him. Can I upload the same Application Name as before (I will have to delete the old one, of course) without any complication? I don't want to delete the app now without knowing that I can reupload the app under new store account with the exact same application name
You can transfer apps between account with the new option inside itunesConnect.
In this link you can get more information.
https://developer.apple.com/library/ios/documentation/LanguagesUtilities/Conceptual/iTunesConnect_Guide/Chapters/TransferringAndDeletingApps.html
Also, if you delete the app this will happen (according apple documentation):
Important: If you delete your app, you can’t restore it. The SKU or app name can’t be reused in the same organization. If you’ve uploaded a build or set up this app for the iAd App Network, your bundle ID can’t be reused.
So the app name must be released and you can reused in another organization (according Apple documentation).

Itune Application sharing blocking

IOS paid application sharing we need to block.
Planning to submit paid application in Apple store. Suppose a user brought application and download to Itunes account, then i sync to my mobile device, able to use that.
1.From itunes can we share application ipa to any other user?
2.is there any way to identify which apple id used for downloading?
3.any option for blocking user without downloading from apple store?
Apps bought/downloaded from the app store are linked to the account that download the app. You can there for not just share the IPA.
On a jailbroke device you might be able to remove the security measures that restrict this. But what you are proposing is not possible with official App Store apps.
You cant code to UDID anymore since the update to the iTunes ToS. They are all account bound. In the cases I have tried to share the .ipa file the app data inside that app specific to me did not migrate to the new user

iOS - is the user able to restore apps that were removed from the store

Suppose the following situation:
A user buys an app
this app is removed from the store temporarily, by changing the availability date to a year in the future. Note that the app was not deleted from the store, it is just hidden by a change on the availability date.
the user deletes the app
the user regrets deleting and wants to restore the app from icloud.
will the user be able to do that? and what about apps that were completely deleted from the store?
thanks.
The other answer is incorrect. Unless you indicate in iTunes Connect that the app was removed for legal reasons (Rights and Pricing section) the user will still be able to re-download the app from iCloud.
If the app is not displayed in the app store(developer hide or remove), user can not re-install it after deleting, until developer make it displayed in app store again.
if developer deleted the app completely from app store , that means the app is not displayed int the app store, user can not re-install it yet, but the developer can re-upload the app again using the same app-id.
Can or not can re-install app depends on whether the app is displayed in app store
Also depends on whether it is the same app-id

Sharing data between device in same app iPhone

I am planning on making an app on iPhone.
Users can take a photo inApp or upload photos from their photo library(photo stream). Once this is done, anyone else with the app should be able to see these photos IN THE APP. What is the best way to approach this? Do i require a server or is there another way to save photos. Do I have to use iCloud for this? I am under the impression that iCloud is for a single user and not to share information as a server. Should I change this impression of mine?
Thanks!
You'd need to save the photos to a server somewhere. Whenever the app runs on a given device, it'll need to check with the server to see if there are new photos to display.
Your impression of iCloud is correct -- it's for syncing data between a single user's devices, not for sharing data between many users.