Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
1 vote
0 answers
75 views

I've seen apps that have interactive widget buttons where a short tap does nothing, but holding the button for at least 1 second executes the action. This can be configured per button in the widget ...
2 votes
1 answer
133 views

I’m working with two iOS widgets (WidgetA and WidgetB) that both display the value of a flag stored in SwiftData. Each widget can update the flag by triggering an AppIntent when a button is pressed. ...
Best practices
0 votes
0 replies
28 views

On the California watchface (white) there are two complication slots. The upper one is seemingly not a standard slot and limited to a few Apple-owned apps (Calender, Time, ...). It adopts the (default ...
0 votes
0 answers
58 views

Been playing around with AppIntentConfiguration in WidgetKit and was wondering if I can have a parameter being passed in the intent structure? Below is what I'm trying to achieve, but I keep getting ...
3 votes
1 answer
2k views

I'm developing a Home Screen Widget for iOS 26 and trying to apply the new Liquid Glass design system to the widget's background. Currently, my widget has a solid black background instead of the ...
1 vote
1 answer
82 views

I'm building an iOS Widget (WidgetKit) with a ×ばつ2 button grid using GeometryReader to calculate row heights. The buttons should fill their containers completely and have equal heights, like Apple's ...
0 votes
1 answer
108 views

I am looking for a way to hide sensitive information on my Complication, basically whenever the user does not actively look at it. That includes Always-On state Locked State (e.g. Watch not on wrist) ...
6 votes
0 answers
807 views

The HomeKit and Battery Status widget in iOS 26 has a clear background. However, trying to manipulate the .containerBackground(for: .widget) using the .glassEffect doesn't work. Does Apple allow ...
0 votes
0 answers
39 views

I want to show a watchOS control that has a Text as its Label. I tried achieving this with this code (the provider and action are just placeholders): StaticControlConfiguration(kind: "codecontrol&...
2 votes
1 answer
117 views

I have an accessoryInline widget (for iPhone LockScreen and Watch complication) and I'd like to display a colored Image inside (for iOS & watchOS). The image is a small png (like 80x80) with ...
0 votes
0 answers
106 views

What I Know So Far: You must call Activity.request(..., pushType: .token) inside the app to create a Live Activity and receive its push token. The token can be captured using for await activity....
3 votes
1 answer
376 views

Summary When a SwiftUI widget uses a Link containing an Image modified with .widgetAccentedRenderingMode (using any mode except .fullColor), tapping the image on the widget launches the app but does ...
1 vote
0 answers
77 views

I'm recently developing watch complications using WidgetKit. How can I determine my inline complications is in top or bottom slot context of Motion watch face for different designing, since the top ...
0 votes
1 answer
84 views

I have a proxy app with an iOS widget extension that works perfectly when run on a Mac when built as 'Designed for iPad'. But recently we decided to make a full 'Mac Catalyst' target for arm64+x86_64 ...
0 votes
0 answers
172 views

I'm trying to create a widget using the WidgetKit framework. In this part, I'm using Intents along with a DynamicOptionsProvider. As shown in the Medium article below, I want to present multiple ...

15 30 50 per page
1
2 3 4 5
...
41

AltStyle によって変換されたページ (->オリジナル) /