Search results for

calendar

1,863 results found

Post

Replies

Boosts

Views

Activity

Reply to EKCalendarChooser and Siri Suggestions
Are supposed to be able to access the Siri Suggestions calendar as a regular EKCalendar? You aren't supposed to. This leads me to believe we can't access it, which in that case why is it shown on the EKCalendarChooser and there doesn't seem to be a way to hide it. This is an unexpected behavior. The fact that the Siri Suggestions calendars appear in the list is a bug. Please file a bug report using Feedback Assistant, then post the Feedback number here. Also is there a way to hide the AddCalendar Button in the bottom left? No. If you would like for Apple to consider adding support for such feature, please submit your suggestion request via Feedback Assistant. For more information on Feedback Assistant, please visit https://developer.apple.com/bug-reporting.
Topic: UI Frameworks SubTopic: UIKit Tags:
Jan ’25
Account Pending Termination
I received the below termination letter on a app review of a game which was last updated 2 months ago. I never re-submitted the app even a single time, not only this app but all others apps. Once the update is rejected, I never submit again if the issue is confusing to avoid the multiple submissions issue. I got this is message on one of my apps(total 18 apps) which is simple tractor farming built from scratch. I didn't even perform any action on account from last 2 months and suddenly got this email. Pending Termination Notice Upon further review of the activity associated with your Apple Developer Program membership, it's been determined that your membership, or a membership associated with your account, has been used for dishonest or fraudulent activity, in violation of the Apple Developer Program License Agreement. Given the severity of the identified issues, your account has been flagged for removal. Because your account has been flagged for removal, any earnings payments are paused and app transfers are
3
0
1k
Jan ’25
Not able to save with SwiftData. "The file “default.store” couldn’t be opened."
I get this message when trying to save my Models. CoreData: error: SQLCore dispatchRequest: exception handling request: , I/O error for database at /var/mobile/Containers/Data/Application/726ECA8C-6C67-4BFE-89E7-AFD8A83CAA5D/Library/Application Support/default.store. SQLite error code:1, 'no such table: ZCALENDARMODEL' with userInfo of { NSFilePath = /var/mobile/Containers/Data/Application/726ECA8C-6C67-4BFE-89E7-AFD8A83CAA5D/Library/Application Support/default.store; NSSQLiteErrorDomain = 1; } SwiftData.DefaultStore save failed with error: Error Domain=NSCocoaErrorDomain Code=256 The file “default.store” couldn’t be opened. UserInfo={NSFilePath=/var/mobile/Containers/Data/Application/726ECA8C-6C67-4BFE-89E7-AFD8A83CAA5D/Library/Application Support/default.store, NSSQLiteErrorDomain=1} The App has Recipes and Calendars and the user can select a Recipe for each Calendar day. The recipe should not be referenced, it should be saved by SwiftData along with the Calendar. import SwiftUI
1
0
915
Jan ’25
Reply to Notarization stuck on "In Progress"
Successfully received submission history. history -------------------------------------------------- createdDate: 2025-01-17T06:49:15.280Z id: 39cd667f-f692-4257-a174-1cad53f2ab86 name: Mini Calendar 1.0.0.dmg status: In Progress -------------------------------------------------- createdDate: 2025-01-17T03:25:16.829Z id: 49d17001-2f28-452f-9b1a-d7387980b2bb name: Mini Calendar 1.0.0.dmg status: In Progress -------------------------------------------------- createdDate: 2025-01-16T14:20:16.543Z id: 64dcf5fb-4090-4e5a-aced-5384901a86a8 name: Mini Calendar 1.0.0.dmg status: In Progress -------------------------------------------------- createdDate: 2025-01-16T12:48:32.363Z id: ff006c73-07fa-4294-abe7-b8f48c8d31d8 name: Mini Calendar 1.0.0.dmg status: In Progress -------------------------------------------------- createdDate: 2025-01-16T09:51:34.764Z id: 96bfdf6d-4d09-4024-84c1-e19ac512164c name: MiniCalendar.zip status: In Progress Here is my history. Can you help check? 🙏 Th
Topic: Code Signing SubTopic: Notarization Tags:
Jan ’25
Calendar Display App
Hello, I want to make an app that displays the current event(s) (The ones that are ongoing at any given moment) on my Google calendar and shows how far through the event(s) I am with a progress bar, and updates live. I want it to be as simple as possible and don't want it to take up too much space. I have a little window with some text elements and a progress bar that works if you manually put in values. But I still think the window is too big and clunky and I wonder if it's possible to change it's style? I'm a bit inexperienced with coding and am completely new to xcode and swift. What approach would you recommend I take with this project? Or what resources would you refer me to?
Topic: Design SubTopic: General
1
0
419
Jan ’25
Reply to Persist and deliver scheduled local notifications after app update
Hi Apple Engineer - I hate to post this message because I really wanted to be mistaken in my original post, but I just deployed an updated version of my app and previously scheduled local notifications were NOT delivered after the update. I carefully tested this with the user who originally brought this issue to my attention, by asking him to: 1) schedule a notification right before the version update and then 2) allow the app to update silently in the background. After the update, the local notification was NOT delivered. I did NOT change the app's bundle ID, nor am I using any sort of third party tool. The user who reported this issue has an iPhone 14 Pro Max, iOS 18.2.1, and allowed the app to update silently in the background. After re-launching the app, local notifications continued as before. So, it does appear to be the case that the update breaks previously scheduled local notifications until the app is relaunched. I've included my code to schedule local notifications below. I'm running this code when
Jan ’25
App crashes when opening camera from file input in WKWebView (iOS)
Hello everyone, I have a SwiftUI app using WKWebView to load a website that includes a form with a file input (). The issue is: 📌 When a user taps “Browse” and selects “Take Photo” (camera option), the app crashes before the camera opens. Setup Details: • App Uses SwiftUI with WKWebView • The crash occurs only when selecting “Take Photo”, but selecting an image from the library works fine. 📌 Full Code (WKWebView in SwiftUI) import SwiftUI import WebKit struct WebViewRepresentable: UIViewRepresentable { var urlString: String func makeUIView(context: Context) -> WKWebView { let webView = WKWebView() webView.configuration.allowsInlineMediaPlayback = true webView.configuration.mediaTypesRequiringUserActionForPlayback = [] loadURL(in: webView) return webView } func updateUIView(_ uiView: WKWebView, context: Context) { loadURL(in: uiView) } private func loadURL(in webView: WKWebView) { if let url = URL(string: urlString) { webView.load(URLRequest(url: url)) } } } struct ContentView: View { @State private var c
1
0
474
Jan ’25
Problem with DeviceActivitySchedule and DeviceActivityMonitor
Hey, I’m having some issues with DeviceActivitySchedule and DeviceActivityMonitor. I want to create a schedule that blocks apps (by family control) when it starts. However, even when the schedule is supposed to start on this iPhone, nothing happens, and no logs are being recorded main target: // TestView_.swift // Sloth // // Created by on 11/01/2025. // import SwiftUI import DeviceActivity import FamilyControls import ManagedSettings struct TestView_: View { var body: some View { VStack(spacing: 20) { Text(Test DeviceActivityMonitor) .font(.title) Button(Start test mon) { let now = Date() let start = Calendar.current.date(byAdding: .minute, value: 2, to: now)! let end = Calendar.current.date(byAdding: .minute, value: 20, to: now)! print(thd) DeviceScheduleTester().scheduleTestActivity(startDate: start, endDate: end) } } .padding() } } extension DeviceActivityName { static let daily = DeviceActivityName(daily) } DeviceActivityMonitor: class DeviceScheduleTester { private let center = DeviceActivityCenter() fu
1
0
534
Jan ’25
Reply to How to let iCloud sync across the devices without launching the app at midnight?
Hi, Ziqiao, Thank you for your reply. 1.We just enabled iCloud sync in our app by following the guidance(https://www.hackingwithswift.com/quick-start/swiftdata/how-to-sync-swiftdata-with-icloud). 2.The app is similar with apple calendar. The app sync events data across the devices. 3.We have talked with some potential users. Their habits are to edit their agenda on iPad or Macbook because the screen is big enough. And then they will carry their iPhone to go outside and depend on the notifications from their iPhone to remind them. We can remind them to launch the app on their iPhone to sync the data from iCloud but sometimes they will forget it. That's why we want to design some codes to sync the events data from iCloud in the midnight without launching the app on iPhone.We have designed codes to reschedule the notifications in the midnight via backgroundtask. It works well. But we can't find the method to manually sync iCloud data via backgroundtask. Look forward to good solutions from Apple for it.
Jan ’25
Switching to Calendar Versioning: Does App Store Connect Support Underscores?
We plan to switch from Semantic Versioning (https://semver.org/) to Calendar Versioning (https://calver.org/). Our intended format for CalVer is: YYYY.MM.DD_MICRO, such as 2025.1.5_3. Question: Does App Store Connect allow underscores in version numbers? The Micro component is included to handle cases where multiple releases occur on the same day.
1
0
318
Jan ’25
Issue with iOS Safari Handling Updates in .ics Files
I have an endpoint that generates a .ics file. From my mobile app, I open the browser (Safari) and retrieve the .ics file. In Safari, the events are displayed as expected, and I can use the Add All button to add them to the calendar. After clicking Add All, I can select the desired calendar, and the events are successfully added (see screenshots 1 and 2 below). Here’s the initial .ics file response: BEGIN:VCALENDAR VERSION:2.0 CALSCALE:GREGORIAN PRODID:NAME BEGIN:VEVENT DTSTAMP:20250101T195917Z DTSTART:20250102T131600 DTEND:20250102T142500 SUMMARY:My Event 1 UID:unique-uid1 LAST-MODIFIED:20250101T155715Z DESCRIPTION:Description SEQUENCE:1 END:VEVENT BEGIN:VEVENT DTSTAMP:20250101T195917Z DTSTART:20250103T131600 DTEND:20250103T135600 SUMMARY:My Event 2 UID:unique-uid2 LAST-MODIFIED:20250101T155715Z DESCRIPTION:Description SEQUENCE:1 END:VEVENT END:VCALENDAR Later, I updated the .ics file with new event details: BEGIN:VCALENDAR VERSION:2.0 CALSCALE:GREGORIAN PRODID:NAME BEGIN:VEVENT DTSTAMP:202
0
0
637
Jan ’25
How to let iCloud sync across the devices without launching the app at midnight?
Hi, I have designed an app which needs to reschedule notifications according to the user's calendar at midnight. The function has been implemented successfully via backgroundtask. But since the app has enabled iCloud sync, some users will edit their calendar on their iPad and expect that the notifications will be sent promptly to them on iPhone without launching the app on their iPhone. But the problem is that if they haven't launched the app on their iPhone, iCloud sync won't happen. The notifications on their iPhone haven't been updated and will be sent wrongly. How can I design some codes to let iCloud sync across the devices without launching the app at midnight and then reschedule notifications?
4
0
946
Jan ’25
Reply to Bug in iOS 18 with NSTimeZone and DatePicker
Seattle and SF are in the same time zone, so why would they have different timezoneOffset values? Also, what does -29359 even mean? It translates to -8.1527… hours, which isn’t a meaningful time zone offset. Since you are curious, this is an app I started developing in 2011, and it was beleaguered with every imaginable edge case with regard to time zones and daylight saving time. My app is all about converting solar time to whatever time zone you want to look at sometime from, in whatever calendar, in any time past or present, which often involves crossing every possible arbitrary human-made boundary in time and space. Being able to create a standardized time zone based on the location (converted to seconds from GMT), allowed me to do certain data conversions to get the day without having to worry about whether or not daylight saving was in effect at one calendar date but not another that the date picker might choose. And it worked fine for many years until the latest iOS. Presumably Apple h
Topic: UI Frameworks SubTopic: UIKit Tags:
Jan ’25
When does appleExerciseTime update or change?
I've been trying to figure out what the bare minimum is required for HKWorkoutBuilder to create a workout that adds time the appleExerciseTime. I couldn't find the documentation for this. This is my code so far. func createWorkoutSample( expectedActiveEnergyData: [Double], expectedExerciseMinutesData: [Double], calendar: Calendar, startDate: Date ) async throws -> [HKSample] { var testData: [HKSample] = [] let workoutConfiguration = HKWorkoutConfiguration() workoutConfiguration.activityType = .running workoutConfiguration.locationType = .outdoor let results = try await withThrowingTaskGroup(of: HKSample?.self) { group in for (index) in 0..
2
0
931
Jan ’25
EKCalendarChooser and Siri Suggestions
When using EKCalendarChooser it shows a list of calendars that the user can select, however it shows the Siri Suggestions calendar but theres no way to access it. Are supposed to be able to access the Siri Suggestions calendar as a regular EKCalendar? If yes is there a way to persist the selection (currently you can select the Siri Suggestions calendar [as shown in the image] but it doesn't have an actual id so it doesn't persist)? Also when getting EventStore.calendars(for: .event) it doesnt return an EKCalendar for Siri Suggestions, only for all the other calendars. This leads me to believe we can't access it, which in that case why is it shown on the EKCalendarChooser and there doesn't seem to be a way to hide it. Also is there a way to hide the AddCalendar Button in the bottom left?
1
0
359
Jan ’25