Search results for

calendar

1,863 results found

Post

Replies

Boosts

Views

Activity

IOS 18 beta bug - duplicate reminders in calendar
I have been looking online to see whether anyone else is having this problem. I have installed IOS 18 beta on all three of my iOS devices (iPhone and 2 iPads). ONLY ON MY PHONE the calendar is showing duplicate copies of a reminder (randomly with no apparent pattern) . When I select the option to go to the reminder in the reminders app, it goes to the reminders app and shows me only the single reminder. Here's where it gets weird. I delete the reminder from the reminders app and it still shows multiple copies of that reminder which should no longer exist. Any insight is appreciated. BTW. I downgraded my iPhone back to IOS 17. I submitted this on the feedback app already.
9
0
1.2k
Sep ’24
Can I create a seckey from a private key?
I've looked online for information on SecKeys and even more on what I'm trying to do, with little result. All I'm wanting to do is access the Google API for a Google calendar from my iOS app. I've read through Google's documentation on how to authenticate using OAuth2. I've obtained a private key for my service account, and I have an API key already, an app identity, etc. I know I've got to submit a JWT to Google's token server in exchange for a token. I've got the header and payload encoded to base64. The only part I'm stuck on is the last part, creating the signature. I know I need to generate a JWS, but documentation on doing this is sparse. To help, I've employed the use of JOSESwift from GitHub (https://github.com/airsidemobile/JOSESwift. The first thing it wants is to define a variable as a SecKey.let privateKey: SecKey = /* ... */But the documentation doesn't tell me what /* ... */ is supposed to be. I was assuming it was my private key, so I tried to feed it as a string value, but that failed
12
0
8.6k
Jul ’21
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
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
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
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
Scripting Zoom App - A Work In Progress
I know that zoom.us is not technically scriptable with Applescript but I have gotten so tired of repeatedly doing the same things when I set up a Zoom session that I started trying to automate the process using System Events and tell process. I was surprised by how much I could automate but then ran into a couple of brick walls. If anyone else is interested in this I'd like to brainstorm on the forum to see how much is possible. Here's some scripting steps I have been playing with. Part of what I decided to do in order to simplify the data entry involved in scheduling a new meeting and sending an email to the client was to run everything from Filemaker. The variables shows as $theMonth, $theDay, etc are being set in FileMaker before the Perform Applescript step so this is not a viable Applescript. You could use three separate Applescript dialog boxes to get the name date and time. The key code 48 is a tab to move between fields on the zoom interface. Key code 76 is the enter key which will OK the automatic en
4
0
3.2k
Nov ’23
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
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
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
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
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 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