Add an icon to app - iphone

I have an icon (57x57 pixels) which I copied to recources folder and added it to info.plist
but I don't see it on iPhone.
Can someone help me?

The bible of app icons is Apple's QA1686. If you're sure that the file's in your project, and named in the Info.plist, my next question would be: is it a PNG file?

Once in a while I have noticed that if you add an icon to your app and then run the app on your phone or on the simulator, that the icon will not show up. If this happens, I usually have to manually remove the app from the device or simulator to get the icon to appear.

Related

ios11 iphone app icon is missing on iPad

I have an iPhone only app but it works in compatibility mode in the iPad too(no surprises).
but after I updated the app for the ios11, app icon on the iPad is missing.
here is what I've tried;
- launch on the iPhone simulator, icon appears
- launch on the iPad simulator, icon is missing
change the device options from "iphone" to "universal", run the iPad simulator, icon appears but app needs a new iPad ui.
change back to "iPhone" and the app icon is missing again in iPad. really confusing.
I tried to create a new project and make the same changes but never able to make the icon missing again.
I'm using cocoa pods if that makes any sense.
I think I'm missing a settings or something else, I'm really trying to find it, any advice would be greatly appreciated.
I've found the problem.
In info.plist, there was an extra or problematic entry.
- CFBundleIcons~ipad
Remove this line and iPad icons appear normally.
This problem has been reported by many users over the past 6 months (including desperate pleas to Apple to fix this bug), yet no one's reported the following solution.
I'm using Xcode 9.2, and I noticed today that my iPad/iPhone's application will run fine on my iPad (iOS v11.2.1) but the icon is missing.
This is a legacy app, about 2-3 years old, and the cause seems to be my Appicon file. When I view this file, I see this:
Previously, this resource was sufficient to provide the app icon for both the iPad and iPhone, but apparently, not anymore.
I went into my Images.xcassets file, right-clicked, and selected "App Icons & Launch Images\New IOS App Icon" and now have a look at the extra icon possibilities:
Notice the extra icons for iPads.
Sure enough, I created yet more .png files, with resolutions matching the desired iPad resolutions settings, and now, when I build my app and run it on the iPad, it does show the correct icon.
Oh, and I also needed to go into my project's build settings, select the "General" tab, and change the "App Icons Source" to the name of my new image set, "AppIconNew".
Et voila. No messing around with Cocoapods, no need to change the .plist file (mine didn't have that "CFBundleIcons~ipad" entry anyway), I just needed to create a new image set.
Okay, time to go back to my modern, cosy world of using Visual Studio again now.
(Happy sigh..)
I've had a few legacy apps that did have the CFBundleIcons~ipad in the Info.plist, so I check that first. However, I've also had instances where it was just missing the asset as #Mike Gledhill mentioned. If this is the case, you don't have to go through adding a new AppIcon set. Just check the iPad box in the Attributes Inspector for the current AppIcon assets and the iPad sizes will show in the current set. Then just add the correct assets for each size requirement.
I didn't have CFBundleIcons~ipad entry in my Info.plist file as per "karpat"s answer. So I moved to "Mike Gledhill"s answer, then after observing my all the icons from Image assests, I found that for particular icon which was invisible only on iPad, the device type set was iPhone.
I just changed device type by right cling on image set to Universal :
This did work for me.

App icon not showing up on iPhone 5 device during testing

I have a 120x120 icon image that's working fine on emulators - however when I try it on my device, the icon doesn't show up. Any thoughts?
I figured it out. This was actually really annoying. So the UI designer had simply renamed his .psd files with .png and xcode thought this was fine. However, renaming the .pngs isn't going to automatically make them real .pngs. The way I solved this was going to mac preview and exporting the files to the PNG format.
Sometimes some of the images get cached by the OS.
Delete your app completely from your mobile device (press and hold, then delete the app)
Turn off your device and turn it on again.(This ensures that the cache gets cleared)
In xCode, clean the project and rebuild.
Load the software again you your device.
You should be able to see your icon as long as its properly added to your project.
Drag your app over another app to group both into a folder. Then drag the app out of the folder.
Check your info.plist file. Make sure the icon entry looks something like this (use your own image file names of course):
If you see another "Icon already includes gloss effects" row outside, remove it.
It is not uncommon not to see your app icon on the device. However, when your app is being uploaded to the App Store, everything will be fine.
Is your iOS device running iOS7? If not, you will need to include 57x57 and 114x114 icons as well. See https://stackoverflow.com/a/18737063/1646862 for icon sizes apple requires. It is always good to include all icon sizes you may need in your iOS bundle.

Uploaded an app on app store no icon on organizer

I uploaded an app that shows no icon on organizer, but shows icon on iphone simulator and the real iPhone. Will there be any problem? Do I need to make sure the app icon shows up after I archive it?
If the icons show up on the simulator and your test device, there should be no problem. Just to be sure, you can try to completely delete the app from your device, clean the project and rebuild. If the icon shows up, then the Organizer is messing up something.

Remove glossy from my game icon in GameCenter app

How to do it?
UIPrerenderedIcon removes glossiness only for springboard icons.
Has your binary been uploaded and approved by Apple?
In my experience, until you upload your binary, iTunes Connect and Game Center don't know that you want gloss to be turned off. They get this info from your app plist after you upload it. After your game goes live, the glossiness should be gone (that's what happened for me, anyways).
I guess you can't. Remember that the icon on App Store is glossy, too. And the "gloss" on Game Center includes shadow, border, and a lot of other effects.
Like previously answered you can't remove the glossiness as that is added automatically by the device it is running on.
Potentially you could design your game icon with a 'inversion' of the gloss effect applied?
That way in Game Center your game icon would appear as normal once the gloss effect is overlaid.
With regards to the SpringBoard, you would turn off the UIPrerenderedIcon flag so it would also appear correctly.
This is what you need to do to stop gloss from appearing on your iPhone app icon. (same thing that #Coxy was saying, just in more detail): When you are in Xcode, open the "Resources" folder and open the file "yourAppName-info.plist". Add a new item to the list of properties and in the "Key" column type in UIPrerenderedIcon. Click away and the name will change to "Icon Already Includes Gloss Affects". In the "Value" column, make sure the box is checked and it should leave the icon with no gloss. I tested it and it works fine on the homescreen icon, and therefor it should work with the GameCenter icon as well. NOTE: If you leave no icon for the app it stays glossy. There needs to be an icon file for it to show up with no gloss.
Just include a row in the plist file "Icon already includes gloss effects" and check the checkbox. Hope will do this.

How can I make my iPhone 3GS icons in my app iPhone-4 savvy

I have a quite simple question concerning the difference in screen size between the iPhone 3/3GS and the iPhone 4. I've googled around, but was unable to come up with a good explanation.
Here's the thing: tabbar icons. All my icons are 30x30 and 60x60. I named the high resolution ones like [icon]#2x.png. When I load my app on my own iPhone 3GS, all goes fine. But when I load the app in Simulator, simulating a 4 with retina-display, the icon looks pixelated and is clearly the wrong resolution.
What am I doing wrong? These were the exact steps I followed, but I'm probably missing something. Is there something like an option I need to set in the plist?
Any help is greatly appreciated!
Kind regards,
Reinder
You need to name the icons as you have and edit your plist file
The following link should help
http://developer.apple.com/library/ios/#qa/qa2010/qa1686.html
Make sure you clean and build and remove the existing application from your phone and the simulator to see the results
The complete set of icon sizes distilled is
Icon.png – Home screen icon for iPhone 3 (57×57)
Icon#2x.png – Home screen icon for iPhone 4 (114×114)
Icon-72.png – Home screen icon for iPad (72×72)
Icon-Small.png - Settings/Spotlight icon for iPhone 3 (29×29)
Icon-Small#2x.png – Settings/Spotlight icon for iPhone 4 (58×58)
Icon-Small-50.png – Spotlight icon for iPad (50×50)
iTunesArtwork – Icon for iTunes AdHoc distribution (512×512)
It seems that you're doing it the right way. Did you try to remove the app from the simulator? Clean up the project? Re-import the icon image files?
Try (with the simulator stopped) cleaning all targets and re-building. Sometimes xcode gets dumb about what files it's got and needs to be told to clear its cached build and start fresh. It's in the "build" menu, or ctrl-shift-K.