Search results for

calendar

1,868 results found

Post

Replies

Boosts

Views

Activity

Monterey panic, when macbook dont't use, some minute later,
panic(cpu 0 caller 0xfffffff0275ce024): macOS panic detected Debugger message: panic Memory ID: 0x6 OS release type: User OS version: 19P548 macOS version: 21A559 Kernel version: Darwin Kernel Version 21.1.0: Wed Oct 13 18:09:06 PDT 2021; root:xnu-8019.41.5~2/RELEASE_ARM64_T8010 Kernel UUID: 1E11E6BE-3CB3-3E5F-8079-1FD3E9135C30 iBoot version: iBoot-7429.41.4 secure boot?: YES x86 EFI Boot State: 0x16 x86 System State: 0x0 x86 Power State: 0x0 x86 Shutdown Cause: 0xec x86 Previous Power Transitions: 0x40001000100 PCIeUp link state: 0x36894700 Paniclog version: 13 Kernel slide: 0x000000001f540000 Kernel text base: 0xfffffff026544000 mach_absolute_time: 0x43089c740f Epoch Time: sec usec Boot : 0x61a1d600 0x000d99cb Sleep : 0x00000000 0x00000000 Wake : 0x00000000 0x00000000 Calendar: 0x61a204d8 0x000aaf32 Zone info: Foreign : 0xfffffff0761b4000 - 0xfffffff0761c4000 Native : 0xffffffe000538000 - 0xffffffe600538000 Readonly : 0 - 0 Metadata : 0xffffffeb00a48000 - 0xffffffeb04c20000 Bitmaps : 0xffffffeb0224
1
0
631
Jun ’22
Optional Type Date
I'm sorry I know this is basic swift, but how do I get I make the selection an optional return? I know it's with ?? with a string, but I don't know how to do it with a date type. Also how do I get a navigationBarTitle to work on this view? The My Calendar doesn't show up when I run the code. import SwiftUI struct ReciPrep: View { @State private var date: Date? = ni @Environment(.calendar) var calendar @State private var showingAddView = false var body: some View { VStack{ DatePicker(Calendar, selection: $date, in: Date.now...,displayedComponents: [.date]) //Error: Cannot convert value of type 'Binding' to expected argument type 'Binding' .datePickerStyle(.graphical) Spacer() } .navigationBarTitle(My Calendar) } } Any help would be greatly appreciated. Have a good day!
2
0
2.5k
Jun ’22
CalDAV on iOS 15
After updating their iphones to iOS 15, some of my customers doesn't see the calendar events coming from my CalDAV server (sabre/dav) anymore. The CalDAV account is correctly configured. Removing and re-creating it doesn't solve the issue. Same account on iOS 14 device works as expected. Has anything changed in iOS 15? Thanks
6
0
5.0k
Jun ’22
Reply to CalDAV on iOS 15
One possible Server-Side solution for the plain URL trunking problem i have found and partly tested is to verify that the /.well-known/caldav redirect (and carddav) is configured correctly. That Redirect on the webserver should catch any /.well-known/caldav /.well-known/carddav requests and redirect them to the right webdav path from the root of the Server. e.g: somecaldavserver.example.com/.well-known/caldav http 302 redirects to https https://somecaldavserver.example.com/nextcloud/remote.php/dav/ iOS needs secure https to work http will not work. The username will be attached to that url automatically. This Server Config would probably catch the URL trunking error during the update to iOS 15. At least it is fixed - in my test - if the user opens the calendar settings and simply accept them again with the trunked url. iOS will then autodiscover the correct url and stores it - somewhere - the displayed url stays short - but it works! No need to fill out the whole path again. iOS will find the correct
Topic: App & System Services SubTopic: General Tags:
Jun ’22
Iphone 12 mini crashing after restart
Iphone 12 was constantly crashing and observing panic is analytics log. before i take to the service Center, would like to know the reason. thank you. bug_type:210,timestamp:2022-04-14 07:13:16.00 +0530,os_version:iPhone OS 15.4.1 (19E258),incident_id:71F825B8-C25D-455E-8840-2698BEFE6950} { build : iPhone OS 15.4.1 (19E258), product : iPhone13,1, socId : 0x00008101, kernel : Darwin Kernel Version 21.4.0: Mon Feb 21 21:27:55 PST 2022; root:xnu-8020.102.31/RELEASE_ARM64_T8101, incident : 71F825B8-C25D-455E-8840-2698BEFE6950, crashReporterKey : 3aa684b6cb21a665515b1fde75e7780c387b7186, date : 2022-04-14 07:13:16.81 +0530, panicString : panic(cpu 1 caller 0xfffffff00f0a5e18): userspace watchdog timeout: no successful checkins from SpringBoard since monitoring enabled by backboardd (90 seconds ago)nservice: backboardd, total successful checkins since load (100 seconds ago): 11, last successful checkin: 0 seconds agonservice: SpringBoard, no successful checkins since monitoring enabled by backboardd (90 seconds ago
1
0
935
May ’22
Reply to Updating Time - SwiftUI
Here is something I ripped up and works. I deliberately reduced the timer interval to 0.1 to give a more accurate seconds update. You can download the code in https://github.com/richardlamo/SwitfUI-Clock let clockTimer = Timer.publish(every: 0.1, on: .main, in: .common).autoconnect() let calendar = Calendar.current @State var currentDate = Date() @State var hour : NSInteger = 0 @State var minute : NSInteger = 0 @State var second : NSInteger = 0 let cyclePeriod = 0.5 var body: some View { ZStack { VStack { Text((hour):(minute):(second)) } } .onReceive(clockTimer) { time in currentDate = time hour = calendar.component(.hour, from: currentDate) minute = calendar.component(.minute, from: currentDate) second = calendar.component(.second, from: currentDate) } } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
May ’22
Reply to Calculate daily steep from healthkit data
I'm not sure exactly what you mean by merging data for consecutive days but I suspect you're querying for what is the total amount of sleep time in this calendar day which will include data from both the night you care about but also the morning corresponding to the night before and that's what you mean by merged. You'll likely want to query a little differently. For example, instead of bucketing by a midnight to midnight day, bucket by a 6pm - 6pm bounded day. Or apply some other type of processing to determine which actual day sleep data belongs to.
May ’22
Reply to Dateformatter with "dd-MMM-yyyy" for September month returning wrong date
But it could be useful for doc to remind it. This is already documented pretty well, including: The Working With Fixed Format Date Representations section of the class docs The dateFormat property documentation The problem here is that the obvious API is a trap, and I don’t think we’ll ever eliminate that trap without changing the API. This can change from release to release, as Apple imports new versions of CLDR Right. It can also change from user to user. The Buddhist calendar example from QA1480 is instructive. I once took a DTS TSI from a bank in Australia where the app worked fine for all their users except for a small subset of their customers in Thailand, where all the dates were off by approximately 500 years. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: General Tags:
May ’22
EKEventEditViewController Add and Cancel buttons not responding
I am trying to add a calendar event using `EKEventEditViewController`. I have setup a `EKEventEditViewController` properly with an `EKEventStore`, `EKEvent`, and its `editViewDelegate` as the presenting view controller. The `EKEventEditViewController` presents itself correctly, but when I press either 'add' or 'cancel', `didCompleteWithAction` does not called in `EKEventEditViewDelegate`. But, I do get this error (no crash though): [EKCalendarItemLocationInlineEditItem isSubitemAtIndexSaveable:] - Location Inline Edit Item didn't have a text label on its non conference location cell; will return NOYou can see here that `EKCalendarItemLocationInlineEditItem` is in the `EventKitUI` framework.It seems like this has something to do with location but I can't seem to figure it out. Has anyone ever encountered this error, or have any tips on how to further debug? Thanks! I am running iOS 11 and Xcode 9.0.1.
4
0
3k
May ’22
Reply to Universal Links not working properly
Having the same issue: Links from Calendar containing phone numbers don't open the phone app when clicked, or even when long-hold and selecting Call +1 (800) 555-5555. Also in apps like the Southwest App, load a boarding pass, and then click the Add to Wallet button - that doesn't work either. Iphone 10, iOS 15.4.
Topic: App & System Services SubTopic: Core OS Tags:
Apr ’22