It took me hours of analysis to determine what’s going on right here. There are a number of necessities to ensure that ImagePlayground to make use of your sourceImage.
- Picture should be a minimum of 384×384 pixels
- Picture should be no bigger than 4096×4096 pixels
- Picture should be sq.
Whereas Apple does point out the beneficial sizes within the documentation they make it sound prefer it’s a advice versus a requirement. Moreover Apple would not point out something in regards to the picture needing to be sq..
For some motive while you manually add a picture to an ImagePlayground it would not appear to be any of those necessities apply. It appears to solely apply when passing in photos by way of that sourceImage
property.
I examined this on iOS 18.2 (22C5131e) and Xcode 16.1 (16B40).