icloud

saving website contacts on iCloud

此生再无相见时 提交于 2019-12-04 17:54:55
Wondering if someone could give me some advice, I am building a CRM for a client, and one of their "like to haves" is that if they create a new contact they would like the contacts details be both stored in the database but also sync with there iphone/ipad address book. The only way I can think of doing this is if iCloud offers an api, is this something that could be achieved, or are there any other solutions that maybe could help me. The CRM is being built on PHP if that makes a difference. Use Google Contacts API https://developers.google.com/google-apps/contacts/v3/ and set up Gmail as

Can Git and iCloud Drive be effectively used together?

只愿长相守 提交于 2019-12-04 17:40:42
问题 In the same flavor as this question, are there any possible complications that can arise when using the two services together? 回答1: I'd be concerned about the upcoming macOS Sierra's new Optimised storage feature, where not all files in iCloud Drive are stored locally and may instead be requested on-demand. From my tests, it appears git doesn't trigger the OS to request the file, and instead picks up the placeholder file, named something like .original_filename.icloud . 回答2: No, they shouldn

Returning a list of directories with NSMetadataQuery and NSPredicate

你。 提交于 2019-12-04 17:37:40
I'm trying to get a list of directories in the user's iCloud folder. I worked out how to look for special types of files (such as txt files) and it works fine: NSMetadataQuery *query = [[NSMetadataQuery alloc] init]; _query = query; //Search all files in the Documents directories of the application’s iCloud container directories: [query setSearchScopes:[NSArray arrayWithObject:NSMetadataQueryUbiquitousDocumentsScope]]; NSPredicate *pred = [NSPredicate predicateWithFormat:@"%K ENDSWITH '.txt'", NSMetadataItemFSNameKey]; [query setPredicate:pred]; [query startQuery]; However, I'm now trying to

Can HTML5 localStorage in Cordova/Phonegap app be synced to iCloud?

给你一囗甜甜゛ 提交于 2019-12-04 16:33:33
I have a Phonegap/Cordova app that runs on iOS. It saves it's data into HTML5 localStorage. I'm trying to work out if it's possible to sync the localStorage data (using iCloud) to other iOS devices, and even OS X. From what I can see, in iOS localStorage is actually implemented as a SQLite database, which (when using Phonegap/Cordova) is written to the app's Documents directory: Documents/Backups/localstorage.appdata.db I also understand that there are three main ways of storing data in iCloud: Key/Value storage UIDocument / NSDocument Core Data I know I can't use the Key/Value iCloud storage

Apple iCloud calendar API [closed]

爱⌒轻易说出口 提交于 2019-12-04 15:54:26
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . I've been trying to find out of its possible to access Apple's iCloud calendar from a web application. Does it support CalDAV or any sort of web API? I can't seem to find a clear answer for this. 回答1: iCloud uses CalDAV. A quick Google search returns this hint for determining server URL info for use with iCal on

Issues with Ubiquity container, Entitlements, and code signing not playing nice with each other

半腔热情 提交于 2019-12-04 15:48:19
问题 I am working on adding iCloud support to my income tracking app myIncome that is in the Mac App Store as a 1.0 release currently and works as it should in the 1.0 version. I have only added code to get the ubiquity container and upload the selected file to iCloud. Currently I am using a block to to see if iCloud is even available to validate the menu item that sends the file. if ([[NSFileManager defaultManager] URLForUbiquityContainerIdentifier: container] == nil) return NO; return YES; I

Questions concerning iCloud + core data

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-04 15:09:27
问题 I have an app on the app store, that uses coredata as storage. I wan't to update the app with iCloud synchronization as new feature. Following apple`s sample code, I managed to have my core data storage synchronize between devices. However, I'm experiencing problems when either iCloud synchronization is turned off/on in the app on only one of the devices, or when the app is deleted from the device and the reinstalled. In both cases, data is not synchronized back to the device, although it is

iCloud calendar synchronization issue while creating calendar from application

为君一笑 提交于 2019-12-04 14:58:38
Trying to implement iCloud Calendar synchronization for iOS. The idea is to create a new calendar from my app and sync it with iCloud when iCloud sync is on actually. To get corresponding source I'm using the following code: EKSource* localSource=nil; for (EKSource* source in self.eventStore.sources) { if(source.sourceType == EKSourceTypeCalDAV && [source.title isEqualToString:@"iCloud"]) { localSource = source; break; } } Then creating a calendar in that source and saving. When iCloud sync is on and Calendar synchronization is on for iCloud as well from iPhone->Settings->iCloud->Calendar It's

iOS App Persistent Settings After App Deleted

心已入冬 提交于 2019-12-04 14:51:37
We are creating an app as follows: User starts with 2 free "tokens" User can buy a pack of 10 tokens with $.99 in-app purchase We have implemented this using NSUserDefaults to save the number of tokens. Is there a way to make our free 2 token setting persistent? Even if they delete the app? Right now you can delete the app and reinstall to get 2 tokens again. iOS 5 has NSUbiquitousKeyValueStore for saving settings to iCloud, is that any better? If not we will have to use a web service for this... NOTE: This app is in MonoTouch, but probably irrelevant to the question. Also, in our app, the