0





60
1

I am using 24x24 point png images for this slider's minimumValueImage and maximumValueImage, But when I run them on iPhone simulator it appears but blurred/stretched. Can anyone help me how to resolve this issue.

enter image description here

Question author Keyur | Source

0


1

There are three possible screen resolutions, so every image in your app needs to come in three versions. Here's how:

  1. Make three images in three sizes: in your case, that would be 24x24, 48x48, 72x72.

  2. Edit the asset catalog. Create an image set. Give the image set a name.

  3. Select the image set. You will see the Universal display with three slots for images:

    enter image description here

  4. Drag the small image into the 1x slot, the medium image into the 2x slot, and the big image into the 3x slot.

  5. In your code, refer to the image by the name of the image set.

Follow those instructions for every image in your app.

Answer author Matt

Ask about this question here!