import EventKit
var store = EKEventStore()
store.requestAccessToEntityType(EKEntityTypeEvent) {
(success: Bool, error: NSError!) in
println("Got permission = \(success); error = \(error)")
}
나는 운동장에서 위의 코드를 가지고 응답은 ...액세스 달력
있어 권한 = 거짓; 오류 = 아니요
놀이터에 권한을 부여하려면 어떻게해야합니까?
PDF를 다운로드하면 [WWDC'14 세션 408] (https://developer.apple.com/videos/wwdc/2014/?id=408), 슬라이드 121에 명시되어 있습니다. . 나는 그것이 진정한 동정이라고 동의한다. 나는이 어려운 길을 만났다. –