Questions tagged [ekevent]

A class in the iOS Event Kit Framework that allows an instance of it to represent an event from a calendar.

A class in the iOS Event Kit Framework () that allows an instance of it to represent an event from a calendar.

Available in iOS 4.0 () and later.

285 questions
0
votes
1 answer

Best way to search for events?

I want to give my users an option to search in events - title, location, notes, etc. What's the best way to do that? Just fetch all events to the next 2 years, but how to make the search without slowing things up?
Eli_Rozen
  • 1,301
  • 4
  • 20
  • 31
0
votes
1 answer

Unable to alter UIButton in EKEvent code

I'm trying to create a button that when pressed creates a calendar event, and changes the title of said button to "Event Created" or perhaps creates an an AlertView to the same effect. This is my code so far: - (IBAction)AddToCal:(id)sender…
Jackson
  • 559
  • 7
  • 20
0
votes
1 answer

How can I set Multiple Alarm with Notification in iphone

I need to set the alarm with notification in my App I have try the following codes but no luck for me EKEventStore * eventStore1 = [[EKEventStore alloc] init]; if([eventStore1 respondsToSelector:@selector(requestAccessToEntityType:completion:)]) { …
btmanikandan
  • 1,923
  • 2
  • 25
  • 45
0
votes
1 answer

No Calendar Event has been set issue

I have an issue regarding to EKEventEditViewController while add any event via my app. When I'll install the app for the first time I can not add event and the issue of No calendar event has been set comes with "Error Domain=EKErrorDomain…
0
votes
1 answer

Create new Reminders list with EventKit?

My app uses EventKit to read and write new reminders to and from the Reminders app, which works well. However, I've only found a way to write reminders to the default list that the user selects in the Settings app... My question is, does anyone know…
JohnWickham
  • 571
  • 1
  • 6
  • 15
0
votes
1 answer

iCal add event error only on fresh installations, and fixed by restart

I have recently released an app and instantly found an annoying bug. There is a button to add events to iCal. When pressed the user is asked to allow the app access to the calendar. If the user clicks ok then an error message is displayed (the…
Nick Jones
  • 523
  • 1
  • 3
  • 17
0
votes
1 answer

NSDateFormatter not formatting dates correctly when adding events to calendar

I am having trouble figuring out how to parse a certain date format using NSDateFormatter and putting it into an EKEvent. At the moment this is my code. I have already requested permission to add events and method is called from the completion…
Killectro
  • 53
  • 5
0
votes
2 answers

Event Date in Calendar sets on day earlier after saving

I am new with EKEventKit and I am trying to create an event in calendar using EKEvent. It works fine but after saving the event when I check again the event date it gets one day earlier. I am writing my code here with output. Please have a…
azeem
  • 41
  • 6
0
votes
0 answers

MBProgressHUD object not show when do requestAccessToEntityType for EKEntityTypeEvent

I want to show the MBProgressHUD object - progressHud during process auto add about 100 events to calendar. Here is codes when i touch on the button to do this task. - (IBAction)add_event_for_test:(id)sender{ self.progressHud = [[MBProgressHUD…
nghien_rbc
  • 133
  • 1
  • 12
0
votes
1 answer

How to convert a calendar event description into a dictionary object in iPhone?

I am fetching the Events from the calendar and for each event i want to fetch all the data. But i am getting some of them as objects like EKRecurrenceRule, EkCalendar, EKAlarm. Now i want to get a particular field from the object. I tried converting…
Abhishek Shah
  • 11
  • 1
  • 3
0
votes
1 answer

How to Retrieve most recent completed, todo events from default calendar in iOS?

I am using default calendar in iOS5. I have to display most recent three completed activities, most recent three todo events.Those events can be any thing,means it can be any day. Can any one help me how retrieve those events using ekevnt store.
CKT
  • 1,223
  • 4
  • 21
  • 39
0
votes
2 answers

custom NSObject class with EKEventAttribute

I have a custom NSObject class where I declare the following attributes and functions in it. @property (nonatomic, retain, readonly) NSDate *date; @property (nonatomic, retain, readonly) NSString *dateTime; @property (nonatomic, retain, readonly)…
Steaphann
  • 2,797
  • 6
  • 50
  • 109
0
votes
1 answer

ARC Memory Leak in cellForRowAtIndexPath when accessing [EKEvent notes]

I'm using ARC with xCode 4.6 and I'm getting a memory leak when trying to access the .notes property of an EKEvent to assign to a string in cellForRowAtIndexPath. The funny thing is, the leak never appears until I toggle a "paid/unpaid" button in…
jhilgert00
  • 5,479
  • 2
  • 38
  • 54
0
votes
1 answer

Grants Calendars Privacy access Issue

In my code I am handling all cases for ios 6 calendar privacy, if the user allows access to calendars, i called some method like following: [self performSelector:@selector(reloadData) withObject:nil afterDelay:0.1]; The problem is that method…
Ayman Melhem
  • 493
  • 3
  • 13
0
votes
1 answer

Xcode setDateFormat: wrong year

I found this problem by using EKEvent to add an event to calendar with my App. Since I didn't found any resources, I would like to know if you have ever hear about that. I had an old app (developed IOS 5) that used successfully EKEvent with this…
Miwi
  • 774
  • 4
  • 15
  • 28
1 2 3
18
19