My-Code enthalten: EKEventStore Zugriffsanforderung stürzt auf iOS 10. Nachricht: Die Info.plist App muss eine NSRemindersUsageDescription Schlüssel
EKEventStore* eventStore = [[EKEventStore alloc] init];
[eventStore requestAccessToEntityType:EKEntityTypeReminder
completion:^(BOOL granted, NSError * _Nullable error) {
}];
Die App Info.plist bereits enthalten ein NSRemindersUsageDescription Schlüssel und NSCalendarsUsageDescription Schlüssel, aber den Code unten funktioniert auf iOS 8 und 9, aber auf iOS 10 stürzt .like:
[access] This app has crashed because it attempted to access
privacy-sensitive data without a usage description.
The app's Info.plist must contain an NSCalendarsUsageDescription key
with a string value explaining to the user how the app uses this data.
Meine App Info.plist bereits enthalten eine NSRemindersUsageDescription, aber auf iOS 10 stürzt es ab. –
@ Mr.Wang in Ordnung, dann ist das 'Fehler'-Protokoll Ihre Frage' Log-Info' noch? – aircraft