Is there a way to share one master Calendar in iCloud? - objective-c

I understand that I can use iCloud to sync Calendar (I'm assuming this is iCal) between multiple devices/users.
I have a requirement to have a master calendar that can be shared between users and automatically sync between those users. All users must have the ability to add/update/delete entries. And since I will be testing this, I don't want to use my personal iCal, so I need another group iCal stored on iCloud for testing, etc.
Is this possible with iOS and objective-c? If so, which APIs would I be most interested in to accomplish this?
UPDATE: each change to the "master calendar" is synced by iCloud, assuming the user devices are "registered" with iCloud. I need ONE calendar stored in ONE iCloud account, available to all "registered" users/devices. The app is going to access that calendar for back-end processing. The changes the users make to the calendar will be processed by the app when it is running (app is running during business hours, users can make changes 24/7)

Calendars and events in iOS are accessed using the Event Kit Framework. The user will have to have set up their iCloud account and calendar access/sharing separately, I don't think you can do this from within a third-party app.

Related

Receive push notifications in two different apps

We are developing a coaching app service. It uses two different apps (in the store): one for coaches and one for customers.
We want to be able to use push notifications on both apps but the quickblox panel only allows to upload one certificate.
How can we go about using these two apps at the same time with quickblox? Is it maybe possible for two quickblox apps to talk to each other (each one with its own apns certificate) and if so, how?
Thanks in advance
This is only possible on enterprise instances and this requires customisation.

Changing the scopes on an existing live Bigcommerce app

We're working on updating a Bigcommerce app (Previously submitted and currently live). It just so happens that we need to modify the scopes needed (we need access to products now).
Once changed, will our app go into pending mode and require resubmit? Will there be down time? if so, what will happen to current users that have the apps installed will they be able to use the parts of the app that use the scopes we already have permissions for?
Also, Will the current customers be prompted to approve of the new scopes the next time they try to start our application? how is this done?
After a change on the BigCommerce end, this is something you are able to do within the Developer Portal There's more info available about the scope update flow here.

Save data on iOS device permenatly

I want to save data on device itself that would be persistent even after deleting the app and installing it again (data can even be one int/date).
According to my knowledge it is impossible because each app can store data only on it's sandbox (I know I can use iCloud etc. but I don't want any services user can not have or give the app specific permissions).
As to my understanding the only option to do that is to store it on my server.
But, Apple doesn't allow to send UDID or any other specific device ID and I can't get the iTunes ID. I know I can use any other ID like Facebook ID but the app doesn't have it and that would make a really bad user experience.
I've download apps that does just that successfully (saving data specifically to my device that been recovered even after deletion and without the need to enter any ID or login process). How do they do it? Do they send UDID to some server and apple miss that or there is a way to save data outside the app sandbox?
Well there is the KeyChain, which can store data the would kept even if you delete the app.
We do that too in our app:
Basiclly we create an UDID of our own and store that on the device (in the keychain).
Combined with user id that gives us all we need on the server side to identify the user and his device. We don't store any other app data on the device, all is server managed.
You could pack your data up, store it in the documents folder for your app, and back up your device to the cloud or iTunes. you can then do a restore to get it back. You just can't do anything on your phone between the backup and the restore. Just saying.

API for "People" contact data

I'm working on a Win8 metro signup flow and would like to be able to seamlessly pull, using the user-provided phone #, a photo and display name from the built-in "People" app. I'm having trouble finding documentation/code outside of ContactPicker (which isn't what I need).
Couple questions:
Is there an API to pull contact data that would be present in the "People" app?
If so, is there a way to configure capabilities to avoid interrupting the user with a modal "Ok for app xyz to access your address book"?
Thanks.
Confirmed that there is no API to pull contacts programmatically.
You can't pull contacts without permission, it's a security feature. You CAN interrogate the contact data users pick via the Contact Picker though.
You therefore have to ask the user to pick contacts relevant to your task, call the single / multiple contact picker then once picked, you can interrogate the contacts as much as you want. They have phone numbers, emails, locations all the data you might want hanging off those.
As far as I can tell, there's no way to maintain a persistent link to them though, so store that data while you can.

Allow user to create account on one device and use that account on others

I want to make an application that has some views for information display. If I install my app on my iPhone then it should display the info. If I then install that app on my iPad then the app should recognize the device and display the info related to my account.
Is there any way to find the single user of two devices without the user's iTunes credentials, or is it possible to generate a key that can identify the common user of both devices?
No, currently there is no way to associate multiple devices to a single user owning those devices given the information you've provided.
However, if you added, "the information I want to display in the views, pertains to the same user account in Game Center for both devices", then you could use the player's identifier from Game Kit API.
https://developer.apple.com/game-center/
This is being added well after the fact, but:
You could use iCloud APIs to accomplish this. These are distinct from iTunes credentials, but obviously the same type of prerequisite in that the user must have an account and it's not under your control.