Do I need to add the @2x version to the project in Xcode or will it know to find the @2x version in the folder?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to add the @2x version of the image to the project in Xcode. Remember to check the “Copy items into destination group’s folder” box when adding the image. Also check your targets in the “Add to targets” menu. Think about it this way, if you don’t add it to the project in Xcode, how will the image be found when it is deployed to actual devices of customers? They can’t (obviously) connect remotely to your computer and download the @2x image. When customers with retina displays use your app and you don’t include the @2x image in the project, the low quality image will be displayed.
In summation, YES. You must include the @2x version of the image if you wish to use a higher resolution image on retina devices.
Hope this helps!