Hi all,
has anyone been able to find the exact sizes in pixels or points for the rectangular lock screen widgets? (for the different phone sizes)
I can only find the table for the home screen widgets.
Thanks,
Patrick
Post
Replies
Boosts
Views
Activity
The modular ultra watchface ignores the font type I set in my complication.
Happens in simulator and on device (see screenshots).
I set the font via:
.font(.system(size: CGFloat(self.fontSize), weight: self.fontWeight, design: .monospaced))
Can you please help? Is this as designed or a bug?
I really a monospaced font in that place.
Thanks!
Correct:
Wrong:
Since this morning, visionOS builds in XCode Cloud are failing.
Did change anything in my configuration, the error on XCode cloud looks like visionOS is not installed:
{ platform:visionOS, id:dvtdevice-DVTiOSDevicePlaceholder-xros:placeholder, name:Any visionOS Device, error:visionOS is not installed. To use with Xcode, first download and install the platform }
I attached a screenshot from the logs.
Anyone know what is happening here and how to fix?
Thanks,
Patrick
EKEventStore on Apple Watch is not giving me all calendars.
I can see only calendars of the source 'Subscriptions', but non of the calendars of source CalDAV (iCloud).
This problem exists over multiple apps. Code works fine on iPhone. Any ideas?
Minimal example code:
import SwiftUI
import EventKit
struct ContentView: View {
let eventStore = EKEventStore()
@State var success: Bool = false
@State var calendarNames: [String] = [String]()
func request() async {
success = (try? await eventStore.requestFullAccessToEvents()) ?? false
}
func list() {
calendarNames = eventStore.calendars(for: .event).map { $0.title }
}
var body: some View {
VStack {
Image(systemName: "globe")
.imageScale(.large)
.foregroundStyle(.tint)
Text("Access: \(success.description)")
ScrollView {
ForEach(calendarNames, id: \.self) { name in
Text(name)
}
}
}
.onAppear {
Task {
await request()
list()
}
}
.padding()
}
}