icloud

iOS 11 password autofill doesn't save password to the Keychain

岁酱吖の 提交于 2019-12-21 12:18:38
问题 I'm using Password Autofill feature in the iOS app. I've set the needed textContentType properties to username and password respectively. Also, I've enabled iCloud Keychain in the iOS settings. The bar appears, I'm able to fill in the login form with the credentials from other apps. However, I'm unable to save the credentials I enter. Is it possible to Save credentials to the keychain without associating the app with the website , like shown in the WWDC session? 回答1: No, It's not possible to

How to detect if iCloud account on a device changed?

吃可爱长大的小学妹 提交于 2019-12-21 07:56:16
问题 How to detect if iCloud account being used on a device changed? A user signs out from Settings > iCloud and another user signs in his/her account. How to detect this change when the app is opened? 回答1: Just add an observer for the notification with name NSUbiquityIdentityDidChangeNotification [[NSNotificationCenter defaultCenter] addObserver: self selector: @selector (iCloudAccountAvailabilityChanged:) name: NSUbiquityIdentityDidChangeNotification object: nil]; If a user signs out of iCloud,

Unable to Download Application - “APP” could not be downloaded at this time

℡╲_俬逩灬. 提交于 2019-12-21 07:56:14
问题 I have a "PLUS" version of my app and the regular version. I archive both of them using different targets. I upload the ipa's to TestFlight (also to my Hockey server) and the "PLUS" version always downloads just fine. But the regular version always give me the "Unable to Download Application" error. I'm not changing the code at all between the two builds. I do a "clean" in between builds. The only difference in code is I define a "PLUS_VER" macro that changes some of the code. And there are a

[NSFunctionExpression _propertyType]: unrecognized selector sent to instance

喜夏-厌秋 提交于 2019-12-21 04:41:04
问题 My project implements core data synchronization with iCloud. When I try to remove duplicates I get following exception: -[NSFunctionExpression _propertyType]: unrecognized selector sent to instance I have read that the main cause of this sort of issue is that using the same managed object context on different threads. In my case, however, all processes are done on main thread. I have no clue how to fix this issue. In initialization method I add following observer: [[NSNotificationCenter

Is it safe to rely on NSUbiquitousKeyValueStore for storing essential data?

天大地大妈咪最大 提交于 2019-12-21 04:25:20
问题 I learned that NSUbiquitousKeyValueStore is always available, also when no iCloud account is set up. This makes me believe I can safely store essential data in it, without keeping a copy in NSUserDefaults . However, in their documentation, Apple says the following: Avoid using this class for data that is essential to your app’s behavior when offline; instead, store such data directly into the local user defaults database. Do I overlook issues that might arise when not using NSUserDefaults (or

iPhone and Webapp sync through iCloud ??

故事扮演 提交于 2019-12-21 04:18:17
问题 just checking if its possible to sync iOS devices AND a web app through iCloud. Currently we've got an iOS app built, are looking at using iCloud for synching between all the devices and also want a web app component. iCloud would be great to use as the module to sync everything together. Anyone know if it's possible ? 回答1: I have a similar requirement and have wondered about this too. Unfortunately iCloud data doesn't seem to be accessible to a Web app. And if you found a hack around it, it

iCloud and Xcode 6 - Ubiquity Container

北城余情 提交于 2019-12-21 04:14:38
问题 I am currently working on an app for iOS 8 which uses iCloud Drive and the CloudKit Framework. Everything was set up by using Xcode 6. When I try to submit my App to iTunesConnect I get the following error: When I'm adding the Key in my iCloud entitlements I'm not able to Code sign the app and Xcode sends me an error,too. <key>com.apple.developer.ubiquity-container-identifiers</key> <string>de.sn0wfreeze.CloudFInder</string> I'll get that error: And I'm not able to Code sign. Can anyone

iCloud CalDAV via PHP

怎甘沉沦 提交于 2019-12-21 03:02:09
问题 I'm trying to script a basic CalDAV interaction for use with Apple's iCloud calendars of a given account. At the moment, I'm receiving the response shown below: Precondition Failed Requested resource has a matching ETag. The code I'm using was originally taken from http://trentrichardson.com/2012/06/22/put-caldav-events-to-calendar-in-php/ and adapted to the below: <?php $account = array( 'server'=> 'p05', 'id' => '######', 'user' => 'a****z@me.com', 'pass' => '*****' ); $url = 'https://'.

iCloud not syncing properly for Core Data (iOS7)

北城余情 提交于 2019-12-21 02:48:38
问题 I'm attempting to sync Core Data among devices using iCloud (using the new iOS7 method). I'm still seeing issues with the syncing when testing with the simulators. Sometimes data from one simulator won't sync to another simulator. What could ever be the problem? Here's most of the code from the AppDelegate.m: NSManagedObjectContext *context = [self managedObjectContext]; if (!context) [self displayAlert]; rvc.managedObjectContext = context; The main code: #pragma mark - #pragma mark Core Data

Not receiving CloudKit push notifications for Custom Record Zone on the Mac

江枫思渺然 提交于 2019-12-20 23:29:54
问题 I've setup a custom zone subscription to receive (silent) push notifications from my custom record zone. Everything works fine on my iOS devices but I'm not able to receive the notifications on my Mac. To register the notifications I'm registering the notification type in applicationDidFinishLaunching : [[NSApplication sharedApplication] registerForRemoteNotificationTypes:NSRemoteNotificationTypeNone]; (Tried the other types with the same result) application