Quantcast
Viewing all articles
Browse latest Browse all 10

EKCalendar – That account does not allow calendars to be added or removed

Usecase When I am trying to create a new Calendar programmatically using the EventKit API the following exception occurs: Calendar Name : Sample NYC Calendar 2012 Error : Error Domain=EKErrorDomain Code=17 “That account does not allow calendars to be added or removed.” UserInfo=0x1f86ba80 {NSLocalizedDescription=That acct does not allow calendars to be added or removed.} Solution Basically when the calendar is created a Source need to be specified, This source could be one of these: [crayon-5626fdd101e0d002883387/]

Viewing all articles
Browse latest Browse all 10

Trending Articles