Search results for

calendar

1,863 results found

Post

Replies

Boosts

Views

Activity

Cannot modify title of Event in Calendar
Hi, I'm creating a calendar application. I am using the EKeventEditViewController to add events to my application. The problem is that the title of the sheet cannot be modified. When I change a title, the console shows that the title has changed. However, the simulator still displays the previous title; New Event. How can I fix it? void (^showEventEditingController)(EKEvent *) = ^(EKEvent * event){ EKEventEditViewController *controller = [[EKEventEditViewController alloc] init]; controller.event = event; controller.eventStore = [self getEventStoreInstance]; controller.editViewDelegate = self; NSLog(@%@, controller.title); // New Event controller.title = @My Custom title; NSLog(@%@, controller.title); // My Custom title [self assignNavbarColorsTo:controller.navigationBar]; [self presentViewController:controller]; NSLog(@%@, controller.title); // My Custom title };
1
0
699
Aug ’23
Reply to Calendar Does Not Sync iOS 9/WatchOS 2
Same problem here. It's not perfect, but I found a workaround.Go to your Google Calendar from a desktop web browser. In the left-hand column, find the calendar you want to see on your Apple Watch. Choose Calendar Settings using the drop-down menu for that calendar. One of the settings options will be private address. Click iCal and it will provide you a private link to your calendar that you can share. Copy that link and paste it into an email to yourself. Open that email on your iPhone and click the link. It will ask you if you want to subscribe to that calendar. Say yes and you will have shared your Google calendar with yourself. Then go to the Watch app on your iPhone. Choose General/Reset/Reset Sync Data. Pressing that won't give any feedback that you've actually done anything, but it's working. It wipes all the contacts and calendar data from your phone and resends that data. You should now see your Google Calendar on your W
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’15
Create calendar event with WatchKit on the Apple Watch
Hi,I am new to the programming language SWIFT. During our school project at school we would like to create an Apple Watch app which allows you to create an calendar event. I have search many Google pages, but I can't find the correct answer. Does anybody know if this implementation is possible through WatchKit? On Google I found a few solutions, but these are developed with Objective C.I would like to thank you in advance!Jelle
8
0
2.1k
Mar ’16
Is there icloud API to get calendar events
Hello, We are developing an app that coordinate meetings that needs to sync icalendar events with our app. We used EventKit and it is working fine on an apple device, but we also need to sync the data from the server (NodeJs) to be able to sync events even when the user doesn't open our app. How can we do so ? I found that we can sync using icloud and using App-specific password https://support.apple.com/en-us/HT204397 Some apps made by developers other than Apple ask you to sign in with your Apple ID, so that the app can access information like mail, contacts, and calendars that you store in iCloud. but I can't find an official documentation for the API. Can you please provide me with the API documentation or help me with an alternative. Thanks
1
0
1.6k
Sep ’22
Unable to access calendar events in Mac after code signing the executable
I have written one application in xcode to access the calendar events. The executable is signed and bundled in a package. The package is notarised. The executable is executed via launchd at regular intervals. It is getting executed at the required intervals however the calendar access is denied. As a result the events are not getting captured. If I trigger the executable manually via terminal the calendar access is granted and the events are captured. I have observed one more weird thing, i.e if I do not sign the executable and don't notarise the package then everything works fine. I have given calendar access to the executable and terminal in Security & privacy. Any help would be appreciated
0
0
434
Dec ’20
Deleting an event deletes the event on the iPhone calendar, but not on the MacBook one.
Hello! I receive events in this way: let store = EKEventStore() let predicate = store.predicateForEvents(withStart: startDate, end: endDate, calendars: nil) let events = store.events(matching: predicate) And remove one of them in this way: try store.remove(event, span: .thisEvent, commit: true) It removes event from iPhone's calendar, but does not from MacBook's. The event came from Google calendar. If I do these things with an event came from iCloud calendar, it works both on iPhone and MacBook. I have tried different ways to solve this problem but without success. I would appreciate any help.
2
0
882
May ’23
How to create an OSX Calendar event with an "open file" alarm
Hello Devs!I have searched the doco and the Internet for a few days now....I must be missing something? - I cant, for the life of me, find a way to create an OSX calendar event with an open file alarm using code (Objective-C) from my Cocoa app.I'm actually getting the feeling it cant be done!(For my current use-case, the Calendar really does make sense - so I would much prefer it over other options like Launchd etc)As a side note: I have found some examples for Applescript (but even those fail on OSX >= 10.9)Cheers for any tips!Dan
0
0
272
Jan ’16
Calendar gregorian (fixed) behaves differently from gregorian (current)
I am trying to get the weekdaySymbols from fixed calendar gregorian but it keeps returning the same result as shortWeekdaySymbols. The same applies for standaloneWeekdaySymbols. Calendar.currentt// gregorian (current) let gregorian = Calendar(identifier: .gregorian) // gregorian (fixed) Calendar.current.weekdaySymbols // [Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday] gregorian.weekdaySymbolst // [Sun, Mon, Tue, Wed, Thu, Fri, Sat] Calendar.current.standaloneWeekdaySymbols // [Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday] Calendar.current.shortWeekdaySymbolst // [Sun, Mon, Tue, Wed, Thu, Fri, Sat] gregorian.standaloneWeekdaySymbolst // [Sun, Mon, Tue, Wed, Thu, Fri, Sat] gregorian.shortWeekdaySymbolst // [Sun, Mon, Tue, Wed, Thu, Fri, Sat]
2
0
1.4k
Jan ’21
"Error getting default calendar for new reminders"
I'm getting an error that says:2017-11-09 04:08:49.307068-0600 TrialMapProximity[778:262739] [EventKit] Error getting default calendar for new reminders: Error Domain=EKCADErrorDomain Code=1019 (null)when I use the defaultCalendarForNewReminders() method of EKEventStore.This error did not occur in my old iPhone. It occurs on my new iPhone - iPhone 8. Anyone have any ideas why? Where can I look up what certain error codes mean?
1
0
1.5k
Nov ’17
Reply to ios14 calendar widget does not show events from Exchange Online calendar
This is still a problem in iOS 15.4.1 in April of 2022. To be clear this is not an outlook problem - the ios Calendar is synced to just fine, the iOS Calendar app itself has the correct data. What appears to not be happening is the displayed view of the iOS Calendar widget does not get updated as its underlying calendar data has changed.. that only appears to happen when the iOS Calendar widget is selected/started, which brings up the iOS Calendar full app. It appears as if the widget is not getting updated data from the calendar app, or unable to live update its displayed face. The iOS clock updates in real time with the hands of the clock - so there should be some way for the iOS Calendar app to signal to the iOS Calendar widget that it should update its 'face'.
Topic: App & System Services SubTopic: Core OS Tags:
Apr ’22
How do I present a UISearchController like the calendar app?
I am able to create a search UI like the iOS 7/8 calendar app (search icon drops down UISearchBar) by following the example in UICatalog of calling presentViewController: on my UISearchController. The problem is I can't seem to find a way to push a VC onto my stack after selecting a search result. In Apple's example there is no navigation controller to push onto besides the one that presented the UISearchController but I can't push onto it since it is presenting the UISearchController. So I tried to wrap my results view controller in a UINavigationController and push from there. It looks like it is going to work but once I select a result it pushes about halfway then the results disappear and I just see the dimmed view of the UISearchController. Also wrapping the UISearchController in a nav controller and presenting it didn't work either. Any ideas?
Topic: UI Frameworks SubTopic: UIKit Tags:
3
0
3k
Aug ’15
Calendar nextDate/enumerateDates methods with backward direction does not work for September
I’m trying to get the previous date that matches the 9nth month in the Gregorian calendar (which is September) from Date.now (which is in December 2023 right now). The expected date is then in 2023. The first date returned is in 1995. Why? I filed the feedback FB13462533 var calendar: Calendar = Calendar(identifier: .gregorian) calendar.timeZone = TimeZone.autoupdatingCurrent let matchingDateComponents: DateComponents = DateComponents(month: 09) let date: Date? = calendar.nextDate( after: Date.now, matching: matchingDateComponents, matchingPolicy: .nextTime, direction: .backward ) print(date) // Optional(1995-08-31 23:00:00 +0000)
4
0
739
Dec ’23