You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
you set calendar Deprecated, and Forces me to use calendarFullAccess, calendarWriteOnly
but in ios
@available(iOS 6.0, *)
public enum EKAuthorizationStatus : Int, @unchecked Sendable {
case notDetermined = 0
case restricted = 1
case denied = 2
@available(iOS 17.0, *)
case fullAccess = 3
@available(iOS 17.0, *)
case writeOnly = 4
@available(iOS, introduced: 6.0, deprecated: 17.0, message: "Check for full access or write only access")
public static var authorized: EKAuthorizationStatus { get }
}
fullAccess & writeOnly is available in iOS 17.0
And your document also explains how to use calendar in iOS 17
Permission
Info.plist
Macro
PermissionGroup.calendar (< iOS 17)
NSCalendarsUsageDescription
PERMISSION_EVENTS
PermissionGroup.calendarWriteOnly (iOS 17+)
NSCalendarsWriteOnlyAccessUsageDescription
PERMISSION_EVENTS
PermissionGroup.calendarFullAccess (iOS 17+)
NSCalendarsFullAccessUsageDescription
PERMISSION_EVENTS_FULL_ACCESS
I only want to use calendar below iOS 17
Version
11.3.1
The text was updated successfully, but these errors were encountered:
Please check the following before submitting a new issue.
Please select for which platform(s) you need help
Your question
you set calendar Deprecated, and Forces me to use calendarFullAccess, calendarWriteOnly
but in ios
fullAccess & writeOnly is available in iOS 17.0
And your document also explains how to use calendar in iOS 17
I only want to use calendar below iOS 17
Version
11.3.1
The text was updated successfully, but these errors were encountered: