icloud

How to fix 'SSLHandshakeException: Received fatal alert: decode_error'?

﹥>﹥吖頭↗ 提交于 2019-12-02 02:12:25
问题 We have a java application that reads our customers public calendars - for example from google (https://calendar.google.com/calendar/ical/...) or icloud (webcal://p58-caldav.icloud.com/published/...). Until recently this was working, but it is now failing for icloud calendars with the following error: javax.net.ssl.SSLHandshakeException: Received fatal alert: decode_error Google calendars still work. Our application reads icloud calendars by swapping webcal:// for https:// and doing an http

Include iCloud on save dialog box in mac app

偶尔善良 提交于 2019-12-02 01:29:18
I have implemented the iCloud support on my Mac document-based app. NSDocument subclass can handle open e save file on local storage and iCloud . But, I can upload my files on iCloud only dragging it on the Open-New File Panel. When the app prompt the user the location to save the file, iCloud is not on the list. Isn't it supported by default like in TextEdit? I have to implement with my own code? Image here: I managed to fix this problem by recreating certificates and provisioning profiles removing the LSItemContentTypes key for my CFBundleDocumentTypes entry in the Info.plist. I also removed

Cloudkit Can we modify data of public database

旧时模样 提交于 2019-12-02 00:27:56
问题 I have just gone through the cloud kit doc as in this link cloudkit but not getting clear about to modify database records for public database. As per this description in cloudkit framework. Using Public Database , as specified in image by default data are world readable, owner writable. That means only owner can modify his data other user can only read? Suppose, using public database, user A can access records of user B, But can user A modify records of user B in same application. Please

programmatically get ics file from icloud?

核能气质少年 提交于 2019-12-02 00:07:58
I've been running a process for a client that involves grabbing their publicly available calendar file from me.com by making an https GET call in a ruby script, and then converting the data in the .ics file to html, then copying it to their website. They recently upgraded to Lion and iCloud, and it appears that, while the calendar I want is still publicly available, it's only usable by webCal enabled apps--I can no longer get it over https. I've poked around a bit on google, but haven't see anything that points me in the right direction yet. Does anyone know if there's a way to access public

Excluding files from iCloud backup

本秂侑毒 提交于 2019-12-01 23:23:46
I'm using iOS 5.1 I use this peace of code [pathURL setResourceValue:[NSNumber numberWithBool:YES] forKey:NSURLIsExcludedFromBackupKey error:nil]; The folder where I put my content is (inside app sandbox) .../Library/Application Support/, not a /Documents folder I do not receive any errors and the result of setResourceValue: is YES Why do I see 2 MB is Settings -> iCloud -> ... etc. where I can check the apps data size? Finally I found the solution by myself The clue is to apply NSURLIsExcludedFromBackupKey to root folder not to every file you want to exclude from backup so at very beginning

Cloudkit Can we modify data of public database

假如想象 提交于 2019-12-01 22:47:59
I have just gone through the cloud kit doc as in this link cloudkit but not getting clear about to modify database records for public database. As per this description in cloudkit framework. Using Public Database , as specified in image by default data are world readable, owner writable. That means only owner can modify his data other user can only read? Suppose, using public database, user A can access records of user B, But can user A modify records of user B in same application. Please suggest. Thanks. In the CloudKit dashboard you are able to change the access rights. So it would be

iOS is backing up 28.0KB of some unknown data from my app to iCloud

China☆狼群 提交于 2019-12-01 21:22:04
问题 My app got rejected for not setting the "do not back up" attribute to two internal files I use (and store in /Documents). I've set the attribute, and it no longer backs up those files (~11.5MB). It is still backing up 28kb of some data though. I removed all data from the /Documents folder and placed them to /tmp just to make sure that nothing in Documents could possibly be backed up. I verified /Documents is empty for my app after that change, and yet iCloud manages to find 28kb of data to

Still backups to iCloud even when addSkipBackupAttributeToItemAtURL is implemented?

谁说我不能喝 提交于 2019-12-01 19:12:55
My recent iOS app just got rejected because the application is storing data on Documents so it is backed up by iCloud, this is not allowed since the data is downloaded from a server. I'm trying to rebuild the code right now and have hit a tough spot when storing the data in the a folder calles Application Support instead. But even though I'm using addSkipBackupAttributeToItemAtURL it still shows up as a backup to iCloud. I'm only targeting 5.1 so it's not a versioning problem. I've added the affected code here below: NSString *newPath = [NSMutableString stringWithFormat:@"%@/Library

iOS - How to know if iCloud photo transfer ability is enabled

∥☆過路亽.° 提交于 2019-12-01 16:49:33
问题 The new iCloud service has many possible configurations. How may I know if the device of my user is configured to send taken pictures to an iCloud server instead of storing them just on the device ? 回答1: If you want to know if iCloud is activated you could simply call: NSFileManager *fileManager = [NSFileManager defaultManager]; NSURL *cloudURL = [fileManager URLForUbiquityContainerIdentifier:nil]; if (cloudURL != nil) { // iCloud is available } This can give you a hint if iCloud is available

iCloud sync keychain

爱⌒轻易说出口 提交于 2019-12-01 16:36:21
In my app, I want to be able to sync a configuration that gets created by the user. I wanted to use iCloud to sync that configuration so that it is always the same on all devices. But, I use the keychain to store the password. Is there a way to also sync keychain data? No, keychain syncing is not part of iCloud. It was part of dot mac syncing, but that is no longer available. There will probably be feedback on whether this is a good idea or not (automatically moving passwords from one device to another), especially in the situation where multiple people share an iCloud account (likely, but not