Well that isn't the kind of news you enjoy receiving on a Saturday afternoon…looks like something changed in the WidgetKit Image Size limit or enforcement in iOS 17.1…so now *every* small Widgetsmith widget which uses a single photo will now fail to load, and be replaced with an empty grey box.

😱

Somehow I didn't catch this during my testing on the iOS 17.1 betas, so now I'm in a race to see if I can fix & deploy an update before iOS 17.1's adoption reaches a critical mass. 🤪

Wish me luck!

Thankfully it turned out that the fix for this iOS 17.1 widget photo limit change wasn't too complex to implement. The fix is now off to App Review.

Typically I would do a slow rollout of any updates to ensure I didn't introduce regressions, but since the userbase running iOS 17.1 is rapidly growing (~5% so far) I think I'll have to do a fast rollout. So if anyone has time to try out this TestFlight, it would greatly put my mind at ease to have more users try it first. https://testflight.apple.com/join/61ix2Uc0

Join the Widgetsmith beta

Available on iOS

@_Davidsmith photo widget (medium) works for me on 17.1
@_Davidsmith I’ve been wanting a way to accelerate a roll out of start out with a higher percentage, just for situations like this
@_Davidsmith Small widgets with a single photo work fine on iPhone (iOS 17.1) and iPad (iPadOS 17.1) when using that TestFlight build.
@_Davidsmith what was the bug/fix? (I have image widgets as well, and they did not change behavior on iOS 17.1)
@_Davidsmith works good for me, including with RAW photos
@_Davidsmith will submit feedback via TestFlight. Unable to test due to potentially a different issue. Trying to work around that now.
@_Davidsmith Just tried it on 17.1 and looking good here
@_Davidsmith i just tried a fresh install from TF on an iphone 13 pro on ios17.1 — I added a small
photo widget using a camera roll photo and it seems to work fine.
@_Davidsmith What was the fix?
@jeff The issue was that iOS 17.1 was much more restrictive about how large of an image resource could be shown in a widget. There were situations where previously I would show an image which was larger than the widget itself (and it would be scaled down)...but now instead I only ever show photos at the exact size of the widget and things seem to be much happier.

@_Davidsmith Thank you for the details!

I think my widget is probably going to be fine, but this gives me something to look into should 17.1 cause problems.

Thanks again, David. 👍

@_Davidsmith Works for me on 17.1 (21B74).
@_Davidsmith I gave it a try and can confirm your fix worked!