Go further with Complications in WidgetKit

RSS for tag

Discuss the WWDC22 Session Go further with Complications in WidgetKit

Posts under wwdc2022-10051 tag

5 Posts
Sort by:
Post not yet marked as solved
0 Replies
25 Views
I need to use location in my widget. Here's what I did: Set Widget Wants Location and Privacy - Location When In Use Usage Description in my widget extension Run the widget The problem is that every time I run the widget for the very first time, I tap "Allow" when asked to permit access to my location and then it crashes with this: I'm really confused why this is happening, since I'm not even doing any operation that involves anything from CoreLocation. The second time I run the widget, works great. I can access current location and do whatever I want. At first I thought that because of my implementation of CLLocationManagerDelegate I'm getting this, but then I removed everything related to CoreLocation from my codebase except the configurations I'm talking about above. What am I missing?
Posted
by Jklr.
Last updated
.
Post not yet marked as solved
0 Replies
75 Views
There is a reference to the official website to create a custom lock screen widget, but the results cannot be searched and displayed. How can it be displayed normally?
Posted
by LD_meta.
Last updated
.
Post not yet marked as solved
2 Replies
223 Views
Hello, I am trying out the new Watch Complications in WidgetKit and I am stuck on the widget '.accessoryCorner'. Unfortunately, I can't find a way to create a curved text as shown in the image in the upper left corner ('HON'). Using the '.widgetLabel' does insert a curved label in the second line, but the text above it in the first line remains horizontally arranged. Has anyone found a solution for this yet? Thanks for the help Thomas
Posted
by Thomas.
Last updated
.
Post not yet marked as solved
0 Replies
94 Views
I could make countdown on watch complication by using [.timer]. However its showing [Hour], [Minute] and [Second], and I just want to show [Second] instead of [Hour] and [Minute]. Lets say if I set the time with [5 minutes] then I would like to make it showing [300] instead of [5:00]. So what will be the best code I should write? Please kindly advise.
Posted
by JJMARSLiN.
Last updated
.
Post not yet marked as solved
0 Replies
96 Views
How to establish communication with multiple parameters in single intent with a parent-child relationship? Where the output of the parent parameter will be input for the child parameter.
Posted Last updated
.