I am building a watchOS 10 app with widgets, and I can't find a way to distinguish between a widget on a watchface vs. in a smart stack. Both have family = .accessoryRectangular, but each have a different expectation, the watchface widgets are usually more minimal, while the smart stack widgets have a full color background.
watchOS 10 - Possible to distinguish between widget on a watchface vs. in a smart stack?
205 Views Asked by Tomáš Kafka At
1
There are 1 best solutions below
Related Questions in WATCHOS
- animateWithDuration lacks completion block, WatchOS 2
- watchOS 2 Heart Rate Sensor
- Using Core Data with watchOS 2.0
- Can I use ClockKit with a custom background image and complications at the same time?
- presentAudioRecordingControllerWithOutputURL not recognized in WatchKit project
- Watch os 2.0 beta: access heart beat rate
- watchOS 2 working with CocoaPods
- Phone call from Apple Watch with openSystem API?
- Non-Public Library SockPuppetGizmo
- Xcode 7 supporting watch OS1 and OS2
- WatchKit : connect 2 sliders to 1 label
- How to hide '+' and '-' buttons from WatchKit slider?
- WKURLSessionRefreshBackgroundTask isn't called when attempting to do background refreshes in watchOS
- Understanding builds for Watch-iPhone app in XCode
- Create new HKQuantityType
Related Questions in WIDGETKIT
- Keychain Error -25308 (errSecInteractionNotAllowed) in macOS WidgetKit extension
- How can I check whether my shared code is running in a WidgetKit widget or full app?
- How to debug Widget Xcode 12
- How to retrieve widget sizes in app to make a preview of it depending on the device?
- How Can I Handle Tap Gesture on Widget?
- SwiftUI Widget DateStyle Custom Format
- Updating iOS 14 Home Widget from StaticConfiguration to IntentConfiguration
- How to use Link in WidgetKit to define arbitrary regions, not just text links?
- iOS14 Intents on small widget only
- How to customize placeholder looks in SwiftUI WidgetKit placeholder?
- iOS 14 Widget is flickering or frozen, chronod crashing
- How to display data from Core Data in WidgetKit
- SwiftUI and WidgetKit image alignment to the right
- WidgetKit not updating
- widgetURL in SwiftUI
Related Questions in WATCHOS-10
- Is it possible to create the same apple watch complication with support of watchOS 9 and SmartStack together?
- WidgetKit watchOS 10 .accessoryCorner cannot figure out how to color a Gauge?
- Uploading standalone WatchOS app to Apple Store without iOS companion app
- Horizontally align with clock on watchOS 10
- Two Apple Watch Companion Targets possible?
- How to hide the dismiss button (x) when presenting a .sheet in watchOS?
- Control over font in WidgetKit .widgetLabel?
- Image with white background causes watchOS system clock to disappear
- watchOS 10 - Possible to distinguish between widget on a watchface vs. in a smart stack?
- Has WKExtendedRuntimeSession changed the way timers work?
- Apple Watch inline complication doesn't show my custom icon
- WKInterfaceController title alignment change on watchOS 10
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
It seems like
is the only flag that can distinguish these (true in smart stack, false on the watchface). Found in https://developer.apple.com/videos/play/wwdc2023/10027/