Questions tagged [ekeventkit]

166 questions
0
votes
1 answer

EKEvent event.eventIdentifier not removing

I am trying to remove an event I saved in the calendar with an event id but its removing a different event and sometimes it doesn't remove anything. I am saving the eventId in a realm database when event is created and reading it back when I want to…
0
votes
1 answer

How to add a hyperlink to an event, in calendar programmatically in iOS without showing actual URL?

I have check this and created an app to simply add event. My requirement is to add a deeplink to an app with some data params, but I do not want to display that in the URL. I would rather prefer having a simple text, say "Open this link" added in…
Hemant Bavle
  • 3,297
  • 1
  • 24
  • 30
0
votes
1 answer

ekeventviewcontroller hide delete button

I am having tableview EKEvents, if a user taps on an event i will push EKEventViewController. EKEventViewController comes default with delete button in toolbar how can I hide this. I tried making a custom viewController subclass of…
AppleBee
  • 1,199
  • 12
  • 26
0
votes
1 answer

iOS Dev cannot delete Calendar event using eventIdentifier programmatically

I can save event into Calendar user do { try self.store.save(event, span: .thisEvent, commit: true) self.addedEventId = event.eventIdentifier print("\(self.addedEventId) has been added") } catch let error as NSError { …
0
votes
1 answer

Getting wrong date while add event in iPhone Reminder app from my application

I am adding an event with NSDate value “2017-04-25 15:00:00 +0000” As per my timezone, it’s 2017-04-25 08:40 PM. I am getting NSDate value from a function. NSString *strDateTime = @"Tuesday, 25 Apr 2017 08:30 PM"; NSDateFormatter *formatterLocal…
kb920
  • 3,039
  • 2
  • 33
  • 44
0
votes
0 answers

add event to iphone calendar

I'm Using SAcalendar. this is my json: {-data: - [ - { id: "1", event_start: "2014-06-09 11:30", event_end: "2014-06-09 12:30", title: "Click a date to create a new event and drag to change its date and time. Click on an existing event to…
Ketan Odedra
  • 1,215
  • 10
  • 35
0
votes
1 answer

Loading bulk event in ios calendar get error

I am trying to do a massive load of events on a ios calendar either local or in gmail (the calendar chooses the user as I describe in the following answer) using objective-c. Adding an event with the functions I've put below works fine for me, but…
Joacer
  • 568
  • 13
  • 32
0
votes
1 answer

Best practice for passing NSDateComponents to UILocalNotification?

I'd like to pass an NSDateComponents object to my UILocalNotification object's userInfo property. What is the most elegant way of doing this? I'm working with EKReminders and am passing their dueDateComponents (which are of type NSDateComponents.)…
Daniel
  • 3,758
  • 3
  • 22
  • 43
0
votes
1 answer

Calendar Event add wrong time issue

I am working on calendar application. I am trying to add add new event in default iPhone calendar.In this case successfully added event,but start time always set 5.30 PM in default iPhone calendar how to solve this issue Attached below piece of…
rajes
  • 251
  • 2
  • 4
  • 8
0
votes
1 answer

How to Alert and Alarm property get from EKEvent class in Objective-C?

i have fetch all the events from device with its property but i couldn't get alarm and alert property in EKEvent NSPredicate *fetchCalendarEvents = [store predicateForEventsWithStartDate:currentDate endDate:eventDate calendars:nil]; eventList =…
Vivek Goswami
  • 432
  • 3
  • 16
0
votes
1 answer

EKEvents future events not working

Here i am listing all events from calendar but it not displaying 2017 events, i know only 4 years above details fetching but there are no record getting from 2017 EKEventStore *store = [[EKEventStore alloc] init]; [store…
Vivek Goswami
  • 432
  • 3
  • 16
0
votes
1 answer

How can I create EKEventStore different instances with different Identifiers?

I want to create three instances of EKEventStore class to store my 3 different events, EKEventStore *event = [EKEventStore alloc] init]; EKEventStore *event1 = [EKEventStore alloc] init]; EKEventStore *event2 = [EKEventStore alloc] init]; When I…
Muhammad Awais
  • 340
  • 3
  • 15
0
votes
0 answers

iOS 8/9 CalendarEvent predicateForEventsWithStartDate EndDate not working correctly?

Is it possible that the function: predicateForEventsWithStartDate(startDate: NSDate, endDate: NSDate, calendars:[EKCalendar]) is not working as described in the documentation!? The enddate seems to work as expected, taking into account the day and…
Tine
  • 1
  • 1
0
votes
1 answer

ios9 swift2 ekeventviewcontroller done bar button disappear

func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) { let eventVC = EKEventViewController() eventVC.event = eventItems[indexPath.row] eventVC.allowsEditing = true …
0
votes
1 answer

Can I use EKEvent in RestKit

I'm developing a Calendar app on iOS. In my application, I'm using EKEvent as event model. Since EKEvent is not a normal core data model, for example we should use eventWithEventStore: not insertNewObjectForEntityForName to create event, I'm not…
Yuwen Yan
  • 4,777
  • 10
  • 33
  • 63