If you choose the “Single Size” mode the asset catalog deletes all icon sizes except the 1024x1024 image. You can choose to switch to the single size app icon mode or upgrade to the full Xcode 14 “All Sizes” mode. When you open a project in Xcode 14, that you created with Xcode 13 or earlier, the asset catalog shows the app icon in an “All Sizes (Xcode 13)” mode: You don’t need to fill all the slots, just add the ones where you want to override the automatically resized image. That reverts to showing the full set of app icon sizes: When you need to be more accurate you can switch to “All Sizes”: It’s also great for placeholder icons during initial app development. The single size app icon mode is great for icons that don’t need pixel level adjustments when resized. The single size mode also exists for watchOS but sadly not for macOS: You can still override individual sizes with the All Sizes option. Choose the Single Size option in the app icon’s Attributes inspector in the asset catalog. Simplify an app icon with a single 1024x1024 image that is automatically resized for its target. Here’s the announcement in the Xcode 14 release notes: Hard to believe that wasn’t possible until now. You can also double-click an image slot to directly open the file panel to choose the image file. Instead of the full set of icon sizes there’s a single slot for a 1024×1024 point image that the system resizes as needed. Starting with Xcode 14, when you create a new iOS project, the app icon in the asset catalog defaults to the new “Single Size”. Xcode 14 also adds a few extra app icon sizes. It feels like it’s been a long time coming but Xcode 14 can automatically create the full set of app icon sizes for you from a single 1024x1024 image.
0 Comments
Leave a Reply. |