App icon is not rounded on iPhone - iphone

I have strange problem with an app icon. When I run app on iphone simulator the icon is rounded, but on iPhone the app icon shape is square.
How to fix that ?

Check that you haven't got UIPrerenderedIcon set in your plist file. This let's you turn the rounded corners/shine off if you want to do it yourself.
There's a little info on this option here:
http://developer.apple.com/library/ios/#documentation/userexperience/conceptual/mobilehig/IconsImages/IconsImages.html
(Search for UIPrerenderedIcon)

Got the same problem but with a jailbroken phone. In my case this happens because I ssh (use ssh to transfer file) the directory "myAppName".app straight into the device's file system (/Applications).
Gloss effect is applied and corners get automatically rounded when the app is installed via MobileInstallation - in other words iTunes, Xcode or App Store.
Sadly i have not found a free of charge solution yet. So if this is a critical problem i suggest you should buy the IOS developer licence.

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.

Issue with 512 app icon showing gloss

I created an app for iphone and in my project plist settings I set UIPrerenderedIcon to true. Meaning apple shouldn't put that nasty gloss over my icons. Now when I uploaded my app for review and created a large 512x512 pixel icon it put the gloss over it. Check this link for my app.
http://itunes.apple.com/us/app/quick-movie-camera/id490749849?ls=1&mt=8
Now if you download my app, which I encourage smile, you will see that the icons that get displayed on the iphone have NO gloss on them yet this big preview picture of my app shows gloss. What gives?
Now here's the confounding thing, I created another app and its large 512x has no gloss
http://itunes.apple.com/us/app/quick-pics-camera/id490511603?ls=1&mt=8
The setting of plist file for both the projects are identical as far as I can tell.
Apple has fixed this bug in their itunes store. (fix was sometime in Jan/Feb 2012)

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.

512x512 image for AppStore (iTunes Connect), will Apple do corner rounding like they do on the phone?

Upon submission of an iPhone app to iTunes Connect for AppStore distribution, they ask for a 512x512 pixel image. Here is what it says next to the place to submit it:
"A large version of your app icon that will be used on the App Store. It must be at least 72 DPI and a minimum of 512x512 pixels (it cannot be scaled up). It must be flat artwork without rounded corners."
So are they going to round the corners like they do elsewhere or not?? The iOS Human Interface Guidelines indicate NOT: "There are no visual effects added to this version of your application icon"
Yet all the images I see on iTunes app store are rounded. Also web version of iTunes show rounded icons, and infact are 175, 175 square with an image mask that has rounded corners: http://a1.phobos.apple.com/us/r1000/050/Purple/49/68/e3/mzi.wijnmlbw.175x175-75.jpg and http://ax.phobos.apple.com.edgesuite.net/htmlResources/2CBF/images/mask175.png.
Your intuition is correct - Apple applies the glossiness and rounded corners automatically in the iTunes Store, so just upload a flat square version.
Don't worry if the rendering looks terrible in iTunes Connect - it will be fine once it's on the store.
The iOS Guidelines appear to be incorrect.
Apple will indeed round the corners of the flat artwork uploaded to iTunes Connect. It will also add a gloss automatically. So you can upload just the square flat version, but an already rounded version will also work just fine.
If your icon already includes gloss, you can add the UIPrerenderedIcon key to your Info.plist. If you use the build in plist editor of Xcode, the full name of the key is Icon already includes gloss effects and you must set it to YES. iTunes Connect will honour the settings in that file and will update the preview of your uploaded artwork after you upload your binary.
Important: Make sure the UIPrerenderedIcon key is in the root of your Info.plist, otherwise the icon uploaded to iTunes Connect will still use the default gloss, because it will not recognize this key.