Fetch all events from EventStore EventKit iOS

后端 未结 3 1730
梦谈多话
梦谈多话 2020-11-29 02:44

i would like to know how to fetch all events from an EventStore using EventKit in iOS.

This way i can specify all events for today:

- (NSArray *)fetc         


        
3条回答
  •  粉色の甜心
    2020-11-29 03:17

    This is the method I am using in my app to fetch them.

        NSDate *startDate = [NSDate distantPast];       
        NSDate *endDate = [NSDate distantFuture];
    

提交回复
热议问题