従業員ごとに 1 つずつ、すべての従業員のカレンダーの統合ビューを提供する複数のカレンダーが必要な iPad アプリがあります。
Kai または EventKit はこの要件をサポートしていますか? そうでない場合、カレンダー API はありますか?
従業員ごとに 1 つずつ、すべての従業員のカレンダーの統合ビューを提供する複数のカレンダーが必要な iPad アプリがあります。
Kai または EventKit はこの要件をサポートしていますか? そうでない場合、カレンダー API はありますか?
Event Kit はこれを行います... myEventStore と呼ばれる EKEventStore がある場合、次のようにカレンダー配列を定義します。
NSArray *calendarArray = myEventStore.calendars;
このようなイベントを取得します
NSPredicate *fetchAllEvents = [self.myEventStore predicateForEventsWithStartDate:[NSDate distantPast] endDate:[NSDate distantFuture] calendars:calendarArray]; //you can modify this predicate, just keep calendar:calendarArray
NSArray *allEvents = [self.myEventStore eventsMatchingPredicate:fetchAllEvents];