Search results for

calendar

1,863 results found

Post

Replies

Boosts

Views

Activity

Mismatch between App Store Server API `expiresDate` (July 23) and iOS UI “Expires on” date (July 22) for 1-month subscription
Hi everyone, I’m seeing a consistent one-day discrepancy between the expiresDate returned by the App Store Server API and the “Expires on” date shown in the iOS Settings / App Store subscription list. I’d like to confirm whether this behavior is expected or if I’m misunderstanding the way Apple rounds dates. Reproduction steps Step Action Result 1 Purchase a 1-month auto-renewable subscription on 23 June 2025 14:00 JST (UTC+9) Transaction succeeds 2 Immediately fetch the transaction with GET /inApps/v1/subscriptions/{transactionId} Response contains expiresDate: 2025-07-23T05:00:00Z (= 23 July 2025 14:00 JST) 3 On the same device open Settings › Apple ID › Subscriptions (or App Store › Account › Subscriptions) UI shows Expires on: 22 July 2025 The same happens for every monthly renewal and on multiple devices. Region is Japan, device time zone Asia/Tokyo. What I understand so far (and my hypothesis) Apple’s docs say a monthly subscription renews “on the same calendar date” of the next month, so renew
0
0
248
Jun ’25
Update Widget Every Minute
Is this not possible? I have a simple text view that shows the time, but it doesn't stay in sync with the time. I've tried to use a timer like I do inside the app, but that didn't work. I tried TimelineView with it set to every minute, and that didn't work. I tried to use the dynamic date using Text(date, style: ) and that didn't work. I looked it up and apparently it's a limitation to WidgetKit, however, I don't understand how the Apple Clock widget can have a moving second hand that updates properly. Do I just need to add a bunch of entries in the TimelineProvider? Right now, it's just the default that gets loaded when you create a Widget extension. func timeline(for configuration: SingleClockIntent, in context: Context) async -> Timeline { var entries: [SingleClockEntry] = [] // Generate a timeline consisting of five entries an hour apart, starting from the current date. let currentDate = Date() for hourOffset in 0 ..< 5 { let entryDate = Calendar.current.date(byAdding: .hour, value: hourOffset, to:
3
0
127
Jun ’25
RecognizeDocumentsRequest for receipts
Hi, I'm trying to use the new RecognizeDocumentsRequest from the Vision Framework to read a receipt. It looks very promising by being able to read paragraphs, lines and detect data. So far it unfortunately seems to read every line on the receipt as a paragraph and when there is more space on one line it creates two paragraphs. Is there perhaps an Apple Engineer who knows if this is expected behaviour or if I should file a Feedback for this? Code setup: let request = RecognizeDocumentsRequest() let observations = try await request.perform(on: image) guard let document = observations.first?.document else { return } for paragraph in document.paragraphs { print(paragraph.transcript) for data in paragraph.detectedData { switch data.match.details { case .phoneNumber(let data): print(Phone: (data)) case .postalAddress(let data): print(Postal: (data)) case .calendarEvent(let data): print(Calendar: (data)) case .moneyAmount(let data): print(Money: (data)) case .measurement(let data): print(Measurement: (data)
3
0
476
Jun ’25
Reply to How to listen for Locale change event in iOS using NSLocale.currentLocaleDidChangeNotification?
Great question! Changes to the Preferred Languages or App Language almost always cause the app to be quit, as these changes can cause the Bundle to get reloaded, which necessitates the process to be relaunched in order for the change to take effect. In these cases, your app may not receive the currentLocaleDidChangeNotification beforehand. The cases in which you would receive currentLocaleDidChangeNotification is when you go into Language & Region settings and change other properties such as Calendar, Temperature Unit, etc. which can change without necessitating apps to be relaunched. Hope this helps!
Topic: UI Frameworks SubTopic: UIKit Tags:
Jun ’25
Reply to Charts - Exclude dates on x-axis
Swift Charts doesn't support interrupted scales. If you need a piecewise continuous scale, fairly common in finance (such as showing market hours only) you can model your time scale via Double values that represent market time (eg. market hours). Like some epoch time, but it's only incremented when the markets are open. Friday afternoon plus 1 (1 hour) lands you on Monday morning. In this case you are responsible for maintaining the mapping between your market epoch time and whatever wall time that corresponds to. For example, you'd determine Double values for where you want axis ticks, tick labels and grid lines, and you'd map from the Double back to eg. a calendar Date to then format that as an axis tick label. Similarly, if you use selection on the chart (.chartXSelection) you'd need to map the Double back to the way you represent time in your data. An option: instead of using a Double, you can use other numeric types, or conform your own custom time type that represents market time to the Plottab
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jun ’25
Apple Script to Automate Web Page Plot Data
Can someone please help me: I do not have the brain space (85yo) to figure out an Apple Script or Java Script app to do this simple task. I have spent a few hours each day, over several days, and have made zero progress on such an apparently simple task. I wish to create an Automator App for the macOS Safari browser that will schedule (via a Calendar Event) the download of the 48hr data behind the hourly Fuel Mix Plot Data from the AEMO Web Site, every Monday, Wednesday, Friday and Sunday. Here is the link to the AEMO web site: AEMO, Energy Systems, Electricity, National Electricity Market (NEM), Data (NEM),Data Dashboard https://www.aemo.com.au/energy-systems/electricity/national-electricity-market-nem/data-nem/data-dashboard-nem The 48 hour hourly Fuel Mix data is found by selecting the Fuel Mix button (which by default will display the NEM Current Trend). The 48 hour trend is displayed by tapping on the small Current pulldown menu, and selecting 48 hrs. The 48hr Data is down loaded by selecting th
2
0
151
Jun ’25
different panels.
If I have, say a doctor appointment in the Calendar app, and I'm leaving to go to it, the address will appear in Apple Maps on CarPlay. Forgive if I'm getting the details wrong, but I believe if I bring up the Map, it will be available to tap on, so I can quickly go there. I think it may also show up on one on the car-play screens that shows a few different panels.
1
0
42
Jun ’25
How to create an intent that Apple Maps knows about?
I asked a question similar to this earlier, but I think this is probably the better question. I have a food-ordering app. When the user wants to pick up food, I'd like for Apple Maps to automatically display the location of the restaurant that the user is driving to. Calendar does something similar. If there is an event that is soon, the location in the calendar-event shows up in Apple Maps. I'd like to do the same thing. So, when the user makes an order, they'll need to drive to the location fairly quickly. So, I'd like to launch Apple Maps, see the location of the restaurant where I'm picking up food, and then get directions to it. Bonus points if this also works when I have CarPlay.
0
0
97
May ’25
How to provide a driving destination to CarPlay, like Calendar
If I have, say a doctor appointment in the Calendar app, and I'm leaving to go to it, the address will appear in Apple Maps on CarPlay. Forgive if I'm getting the details wrong, but I believe if I bring up the Map, it will be available to tap on, so I can quickly go there. I think it may also show up on one on the car-play screens that shows a few different panels. The point is, I really like this feature, and want to do it in my app. In my iOS app, the user can order food from a restaurant, and pick it up. I'm not ready to make this app a quick service app, but I want to give the user an easy to get to her location. Since I just ordered food, this means that I'll need to leave fairly quickly to go to the location. The Calendar app is able to offer a location because of scheduling, I'd like to do the same.
0
0
123
May ’25
Reply to EKEventStore save throws error "access denied" since iOS 18.4+, macOS 15.4+
Same problem for me as from 18.4. Not all calendar apps have this, so there must be a workaround. Error committing event store: [Error Domain=EKCADErrorDomain Code=1013 Access denied UserInfo={NSLocalizedDescription=Access denied}] Failed to commit: Error Domain=EKCADErrorDomain Code=1013 Access denied UserInfo={NSLocalizedDescription=Access denied} Rolling back changes after commit error: Error Domain=EKCADErrorDomain Code=1013 Access denied UserInfo={NSLocalizedDescription=Access denied} Failed to save event: Error Domain=EKCADErrorDomain Code=1013 Access denied UserInfo={NSLocalizedDescription=Access denied} code-block
Topic: App & System Services SubTopic: General Tags:
May ’25
Reply to virtual meeting extension
In my program, I want to add a meeting schedule to the calendar. I use the following code: let event = EKEvent(eventStore: self.eventStore) event.title = title event.startDate = startDate event.endDate = endDate event.isAllDay = allDay event.notes = notes event.location = url? .absoluteString event.url = url event.calendar = self.eventStore.defaultCalendarForNewEvents event.alarms = alarms.map { EKAlarm(relativeOffset: $0) } let editVC = EKEventEditViewController() editVC.event = event editVC.eventStore = self.eventStore editVC.editViewDelegate = self viewController.present(editVC, animated: true, completion: nil) When opening the itinerary in the calendar, the join meeting button cannot appear. I couldn't find any method to set up meetings in EKEvent
Topic: Business & Education SubTopic: General Tags:
May ’25
Reply to Keep ScrollView position when adding items on the top
So I had a similar problem. I had a calendar-like view where the latest data is at the bottom. By default, it had 12 items in a LazyVGrid (3 rows of 4 items). You could tap show more to expand the size of the view to 600 in height, and also make it scrollable with the top view triggering a fetch of the next page of results. The problem was, the act of resizing this view, and triggering the next page of results was causing the scroll view to jump to the top, rather than staying at the bottom. So essentially it would start loading all pages infinitely. .scrollPosition and the ScrollViewProxy do not seem to work, because at the time of hitting show more the bottom is already visible, so the act of changing the scroll position does nothing. The only workaround I found here was to add a delay long enough for the resize animation and for enough results to load to prevent another page load from triggering. Unfortunately, this was not at all reliable. The only fix I have found was to use .defaultScrollAnchor
Topic: UI Frameworks SubTopic: SwiftUI Tags:
May ’25
nquiry About the Apple Small Business Program Commission Rate Adjustment Timeline
Regarding the Small Business Program (https://developer.apple.com/cn/app-store/small-business-program/#faq), I have a question about the policy statement: If a participating developer surpasses the 1 million USD threshold in the current calendar year, the standard commission rate will apply to future sales. Question: How is the exact date calculated for reverting to the standard commission rate? For example, if a developer’s proceeds exceed $1 million on April 20, 2025, when does the standard commission rate take effect? Specifically: Is the standard commission rate applied immediately on April 21, 2025? Does it take effect at the start of the next calendar month (May 2025)? Or is it triggered when the payment cycle closes (e.g., June 2025 when the billing statement is generated)? Thank you for your assistance!
2
0
74
May ’25
virtual meeting extension
Hello, I have implemented my virtual meeting extension and my application shows no issues in the calendar application, with a join button displayed. Everything is great!. However, with the help of EKEventEditViewController and EKEvent instances, when creating an event from the main target of the application using EventKitUI, the event will not be displayed as a virtual meeting. I have seen that other applications like Zoom have already implemented this, and I find it difficult to find relevant documentation on how to link events created by the program to virtual meetings. How do I set an event as a meeting when I want to add it to the main program? In addition, the function in the VirtualConferenceProvider.swift file of the extension program fetchVirtualConference(identifier: EKVirtualConferenceRoomTypeIdentifier, completionHandler: @escaping (EKVirtualConferenceDescriptor?, (any Error)? )->Void) How are the parameters in this function obtained? It's impossible for every conference related link to
2
0
191
May ’25