Search results for

calendar

1,864 results found

Post

Replies

Boosts

Views

Activity

Why is my account being closed because of 1 app?
Hello everyone, I purchased this app from Codester site. Apple is telling me that there is a breach and it will close my account. Hello, Upon further review of the activity associated with your Apple Developer Program membership, we have determined that your membership, or a membership associated with your account, has been used for dishonest or fraudulent activity. Therefore, your Apple Developer Program account has been flagged for removal. We found that your app is in direct violation of the Apple Developer Program License Agreement, which states: You will not, directly or indirectly, commit any act intended to interfere with the Apple Software or Services, the intent of this Agreement, or Apple’s business practices including, but not limited to, taking actions that may hinder the performance or intended use of the App Store, Custom App Distribution, or the Program (e.g., submitting fraudulent reviews of Your own Application or any third party application, choosing a name for Your Application that is subst
3
0
1.8k
Jan ’23
Events change notifications using CalDAV API
Hi, We are using CalDAV API to create events in user ical. Whenever an event is updated/deleted by the user in the ical, our service wants to receive notifications to perform synchronization. Is this possible using any CalDAV API? I am looking for something similar to Google Calendar Watch API - https://developers.google.com/calendar/api/v3/reference/events/watch
1
0
528
Jan ’23
Reply to iOS 15 Safari WebRTC Issue
I have THE solution ! Install firefox and the rtc player will worke like apparently apple have done an other time a feature and not a bug whith safari... For calendar, prefer sabre.io at apple calendar like this you could do proper injection inside them in PHP ( a possibilty in apple few years ago....but a feature now, and not a bug too)
Topic: App & System Services SubTopic: Core OS Tags:
Jan ’23
Reply to DateFormatter is giving wrong date with Locale ar_AE (iOS 16 and above OS)
There are three problems here. The first is that you’re confusing yyyy with YYYY. The latter gives you the year in the week-of-year calendar, which can be out of sync with the standard calendar at the start and end of the year. A much bigger problems is that you’re using DateFormatter to parse fixed-format dates without pinning the locale to en_US_POSIX. That can yield all sorts of weird issues. QA1480 NSDateFormatter and Internet Dates discusses that in detail. Finally, parsing a date without a time is tricky. See Parsing Dates Without Times. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: General Tags:
Dec ’22
Reply to DateFormatter is giving wrong date with Locale ar_AE (iOS 16 and above OS)
I did a little bit of research and found YYYY corresponds to week year and yyyy corresponds to calendar year. Both of them differs in a certain way towards the end of the year. Please read more on https://technology.blog.gov.uk/2021/03/24/how-we-fixed-a-strange-week-year-bug/ But still I am wondering, why do we have a different behavior in iOS 16 and iOS 15 and below.
Topic: App & System Services SubTopic: General Tags:
Dec ’22
Add multiple events to the Calendar with Concurrency
I created a function to add my course events to the calendar app using EventKit. After learning the swift concurrency, I want to update my code to make the progress much faster, namely using the detached task or TaskGroup to add these events. Synchronize code without detached task or task group: func export_test() { Task.detached { for i in 0...15 { print(Task (i): Start) let courseEvent = EKEvent(eventStore: eventStore) courseEvent.title = TEST courseEvent.location = TEST LOC courseEvent.startDate = .now courseEvent.endDate = .now.addingTimeInterval(3600) courseEvent.calendar = eventStore.defaultCalendarForNewEvents courseEvent.addRecurrenceRule(EKRecurrenceRule(recurrenceWith: .daily, interval: 1, end: nil)) do { try eventStore.save(courseEvent, span: .futureEvents) } catch { print(error.localizedDescription) } print(Task (i): Finished) } } } Doing the same thing using the TaskGroup : func export_test() { Task.detached { await withTaskGroup(of: Void.self) { group in for i in 0...15 { group.addTask
1
0
1.6k
Dec ’22
Requesting access with AVCaptureDevice causes a switch in selected tab in tab view
I am trying to add a QR scanner to my app that has a Tab View at the root. It sort of works except for one thing; When the dialog appears to ask the user for permission to use the camera, it also automatically switches the selected tab from the second tab to the first one that appears in the code. If I switch places in the code between CameraView and AnyView it all works as expected, but I don't want the tab with the CameraView to be the first tab. I've reproduced this in the following example: ContentView: import SwiftUI enum Tab: Int { case first = 1, second } struct ContentView: View { @SceneStorage(selectedTab) var selectedTab: Int? init() { selectedTab = Tab.first.rawValue } var body: some View { TabView { TabView(selection: $selectedTab) { AnyView() .tabItem { Label(Calendar, systemImage: calendar) } .tag(Tab.first) CameraView() .tabItem { Label(Camera, systemImage: person.fill) } .tag(Tab.second) } .padding() } } } struct ContentView_Previews: PreviewProvider { static var previews: so
1
0
689
Dec ’22
On macOS Open system settings > Security & Privacy > Calendar - Follow-up: 814223720
Hi, I have a Mac app that uses calendar. When the user has not granted access and still wants to access the calendar I would like to open System Settings Privacy and Security pane for calendar on the mac. How can I do this? Is it ok to open system settings this way? Or is there a better way? I would like to publish this app to the AppStore so want to know if this is ok? if let urlString = URL(string: x-apple.systempreferences:com.apple.preference.security?Privacy_Calendars) { NSWorkspace.shared.open(urlString) }
2
0
1.9k
Nov ’22
Reply to DateFormatter.date(from: String) strictness
There are two kinds of date strings in the world: Fixed-format dates. These use Latin digits, the Gregorian calendar, and English for the textual components. Localised dates. These may use non-Latin digits, other calendars, and other languages. DateFormatter is primarily focus on the latter, but the example you posted kinda looks like the former. So, what kind of date string are you working with? Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: General Tags:
Nov ’22
Reply to Since ios 16 Calendar App is getting google shared calendar notifications non stop
I found three workarounds for now. The first, super simple, just change Google Calendar sharing to See all event details. Drawback... keeps it read only so you won't be able to make changes to the calendar. The second is to use the mentioned link above https://www.google.com/calendar/iphoneselect to hide the shared Google Calendar from iOS. Then get the Secret address in iCal format from Google Calendar sharing (ex: https://calendar.google.com/calendar/ical/email%40gmail.comprivate-fjdsk2839j2189vACfsjkd/basic.ics) and subscribe to the calendar in Calendars | Add Calendar | Add Subscription Calendar. That will be a read only calendar so you won't receive any invites, but you can still modify events through Google Calendar on your desktop. The third is a little more complicated and I only use it because the shared Google Calendar I had was so massive that it didn't allow sharing (it kept saying
Topic: App & System Services SubTopic: General Tags:
Nov ’22
Reply to How to sort birthdays in swiftUI so that next birthday from today is on top of the list?
I have just created a playground to test this code out. It seems to work properly for the dates I have provided. See what you think and whether it works in your project. let calendar = Calendar.current // Manual creation of dates so you can see what the values for each are let components = [ DateComponents(year: 2004, month: 3, day: 26), DateComponents(year: 1973, month: 7, day: 4), DateComponents(year: 1992, month: 4, day: 1), DateComponents(year: 2012, month: 12, day: 23), DateComponents(year: 1988, month: 9, day: 16) ] let birthdays = components.compactMap(calendar.date) // You would only need this bit in your project let nextBirthdays = birthdays.compactMap { let components = calendar.dateComponents([.day, .month], from: $0) return calendar.nextDate(after: .now, matching: components, matchingPolicy: .nextTime) }.sorted(by: <) let nextBirthday = nextBirthdays.first print(nextBirthday) // Optional(2022-12-23 00:00:00 +0000) This part is what you would put in your project: // Wrap up next birthda
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Nov ’22