I deployed an app to my phone for the first time last night. I picked a relatively simple app that I made a long time ago from a book. It was therefore done before the iPhone 5 and the larger screen (which I thought I'd mention in case it is relevant).
I deployed it and it ran absolutely fine. However, it had no app icon. I decided to use the first image in a batch of 20 images that are used in the app as the app icon just so I could see what it looked like on my phone. For reference, when the app launches, it looks the image in thumbnail 1.
I opened the image from a Finder window and changed its size in Preview to 114 x 114 pixels. I saved this via the Duplicate option as a new image and then added the new image to my project and assigned it to the Retina display app icon slot.
However, I forgot to then undo the changes I had made to the original image before deploying the app to my phone. On launching on my phone, the app looked like thumbnail 2.
I undid the changes, resaved the image, and even deleted the image from the project and re-added it. This image and the other 19 are all listed as being 320 x 320 in the inspector, and the app shows up as normal in the simulator. However, I cannot get the app to show the rabbit at the correct size on my phone. I have deleted the app from my phone and redeployed it after checking that the affected image is definitely the same resolution as the others, but it still shows up bigger. All subsequent frames of the rabbit show up on my phone absolutely fine (thumbnail 3).
For information, this was a simple exercise in a book where 20 images are added to a UIImageView and animated so that the rabbit jumps up and down and does a somersault.
Does anyone have any idea why the image shows up the way it does, even when it runs fine in the simulator?
Please let me know if you need more information.
Thank you.
I deployed it and it ran absolutely fine. However, it had no app icon. I decided to use the first image in a batch of 20 images that are used in the app as the app icon just so I could see what it looked like on my phone. For reference, when the app launches, it looks the image in thumbnail 1.
I opened the image from a Finder window and changed its size in Preview to 114 x 114 pixels. I saved this via the Duplicate option as a new image and then added the new image to my project and assigned it to the Retina display app icon slot.
However, I forgot to then undo the changes I had made to the original image before deploying the app to my phone. On launching on my phone, the app looked like thumbnail 2.
I undid the changes, resaved the image, and even deleted the image from the project and re-added it. This image and the other 19 are all listed as being 320 x 320 in the inspector, and the app shows up as normal in the simulator. However, I cannot get the app to show the rabbit at the correct size on my phone. I have deleted the app from my phone and redeployed it after checking that the affected image is definitely the same resolution as the others, but it still shows up bigger. All subsequent frames of the rabbit show up on my phone absolutely fine (thumbnail 3).
For information, this was a simple exercise in a book where 20 images are added to a UIImageView and animated so that the rabbit jumps up and down and does a somersault.
Does anyone have any idea why the image shows up the way it does, even when it runs fine in the simulator?
Please let me know if you need more information.
Thank you.
Attachments
Last edited: