This is for a tab bar for an iPhone app, using the Swift coding language in Xcode 6.3
My issue is that I want to add an image into my Tab bar in one of my view controllers, but the image is too large. My original solution to this was to manually decrease the size of the image using preview, but the resolution was poor after doing that. Is there a line of code that I can put into the app delegate that could resize an image without changing the source file? Does anyone know of any other way to solve this problem?
The second image is the goal, but without the resolution loss.