Thanks for sharing, I am having the exact same issue.
In my case, it's coming from [UIKeyboardEmojiCollectionInputView collectionView:cellForItemAtIndexPath:]
Can't reproduce it either, only happens in iOS 16.x.
Post
Replies
Boosts
Views
Activity
Did anyone find a fix on this issue? I just opened an issue in the feedback assistant:
Please provide a descriptive title for your feedback:
Widgets in Watch Widget Gallery are not rendering correctly
Which area are you seeing an issue with?
Something else not on this list
What type of issue are you reporting?
Incorrect/Unexpected Behavior
Details
How often does this issue occur?
Always
Description
Please describe the issue and what steps we can take to reproduce it:
The issue can be reproduced in the Emoji Rangers example App provided in the documentation (https://developer.apple.com/documentation/widgetkit/building_widgets_using_widgetkit_and_swiftui%29). Widgets are not rendered correctly in the Widget gallery. The "description" string for each widget does not match the rendered preview. Once the widget is chosen it will render correctly on the watch face but will go black whenever we enter the watch face edit mode. I provided a screen recording of the unexpected behavior. Also, this forum post describes the issue in detail: https://developer.apple.com/forums/thread/713397.
I am having the exact same issue, thanks @darkpaw for such a detailed description. I was about to go crazy trying to figure out why it wasn't working as expected.
Even the EmojiRangers app supplied as example has the same issue (https://developer.apple.com/documentation/widgetkit/building_widgets_using_widgetkit_and_swiftui).
I was hoping that this would have been fixed in iOS 16 GM, but it's still behaving erratically.
Cheers!
iOS 15 beta 5 fixes this issue =)
I am observing this same issue. It only happens if the app is built with the iOS 15 SDK.