Reputation: 29326
This document from Apple states multiple sizes for the tab bar items depending on the device. How do I specify multiple images?
Upvotes: 2
Views: 582
Reputation: 536018
There is only one size being specified in that document for tab bar items - 25x25. The other two are simply 2x and 3x variants - not per device but per screen resolution. Thus the way to do this is the same way we've always done it for images in general. Use the asset catalog or use the @2x
and @3x
name suffixes. (I prefer the asset catalog; it doesn't get any easier.)
Upvotes: 2