How do I configure my application icon so that it doesn't appear as a standard iPhone button? [duplicate] - iphone

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
How to disable highlighting of the app icon?
Hi all.
In each of my apps, the icon on the iPhone screen gets automatically converted into one of Apple's shiny buttons. I am noticing that some apps have managed to either (a) turned off the shiny appearance (such as Netflix) and/or (b) created an icon set in a transparent background so the image appears to be three dimensional and again, not set in the default shiny button
I have looked through the build settings, but cannot see how to configure. Any ideas?
Thanks.

Please include the below key into your info.plist file.
"icon already includes gloss effects" and make check checkbox as marked.
So, your app icon will be as it is.

Do the following steps.
Open your app's Info.plist file.
Add a new row.
Select the key - Icon already includes gloss effects.
Set YES as the value for that key.

Related

Using custom fonts in Xcode 6 - Swift [duplicate]

This question already has answers here:
Can I embed a custom font in an iPhone application?
(32 answers)
Closed 8 years ago.
I'm new to Swift! I'd like to know how I can use custom fonts in my swift application in Xcode 6.
You just drag the font file (.ttf) into the resources area on the left pane of Xcode.
When you drop it in, a dialog box will appear. Make sure the target for your application checkbox is checked. Then add the following key to your plist:
Fonts provided by application
With the values of the filename "myFont.ttf"
UPDATE (see comment below)
Also make sure the font is added to the Copy Bundle Resources (found under Target -> Build Phases) I just spent about an hour on this, and I was the one who answered this question months ago lol.
UPDATE
Another helpful tip to find the name of the font for the font-family if you are using CSS is to run the following command:
NSLog("Available fonts: %#", UIFont.familyNames());
It prints out all the font name available to the system, including the ones you custom added.

iPhone how to submit an app with a non-glossy retina display icon?

I noticed that all of my attempts at a retina display 114x114 application icon image automatically have a gradient shadow overlaid on top of them. My icon already has transparency over a black background, and the second gradient shadow makes the background look less black
I noticed that quite a few apps have their icons appear "flat", having no shadow. Is there some flag that I can set in my project to request this semi-circular shadow effect to not be applied to the icon?
Updated:
Xcode 4.2 iOS 5.0 as deployment target.
Only 1 deployment target.
For some reason the suggested solutions do not seem to work.
I have The property added to the target. I see the boolean of YES for both the raw UIPrerendered icon and the "icon already includes gloss effects". I've replaced the icon files and tried different icons. I've uninstalled the app from the development device and reinstalled it. I did a clean. The gloss effect is still there. What am I forgetting?
Update 2: After 45 minutes of messing and losing my sanity, I noticed that there's another Dictionary in the Plist:
Icon files(iOS5). Within that is a Primary Icon Dictionary,
within that is another declaration of "Icon already includes gloss effect". That one is set to NO. Setting that one to YES removes gloss, and makes my icon look awesome :) My guess is that as I migrated the project to iOS5, that key was added
PS. While on the topic of icons, I built an icon maker app for iPhone that allows me to vary the intensity of the gloss effect, as well as include/exclude some icon elements from the gloss. I still have to tell xCode that my icon is "pre-rendered", but I control the gloss effect.
In your Info.plist for your target add the following attribute.
After 45 minutes of messing and losing my sanity, I noticed that there's another Dictionary in the Plist:
Icon files(iOS5). Within that is a Primary Icon Dictionary,
within that is another declaration of "Icon already includes gloss effect". That one is set to NO. Setting that one to YES removes gloss, and makes my icon look awesome :) My guess is that as I migrated the project to iOS5, that key was added
on ios5 (and higher) just go on Targets-->Summary-->App Icons und check on "Prerendered" - glossy effect is then away
Follow the Alex Stone answer and then you need do the below steps if you are using assests catalog to remove gloss effect
To remove the gloss:
Go to the project files navigator in Xcode.
Click on the asset catalog file (Images.xcassets)
Bring up the attributes panel (typically, the far right) when viewing the asset catalog
Click the box labeled 'iOS icon is pre-rendered'
Performing these steps adds the following toward the end of the file Contents.json inside the asset catalog folder:
"properties" : {
"pre-rendered" : true
}
Set the following flag in your info.plist to TRUE.
UIPrerenderedIcon (Icon already includes gloss effects)
If you don't have it, just add it to your info.plist. Use "Show raw keys/values" to show the name of the attribute.
You need to go to the SUMMARY tab for your project and check the "Prerendered" checkbox next to the icons themselves. Boom, Bob's your Uncle. So they say. Nudge nudge, wink, wink, know-what-I-mean ? See Screenshot

how to remove glare effect from icon from p-list? [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
How to disable highlighting of the app icon?
I want to remove glare effect from my app icon and someone told me it could be done from plist file but he doesn't know from where it can be done? so plz tell me how to remove glare effect from app icon using plist?
Define property Icon already includes gloss effects and set its value to YES in your Info.plist file in project.
Or add lines to the same plist file (if you are editing in Source Code mode):
<key>UIPrerenderedIcon</key>
<true/>

How to remove the "white reflection" on the application icon? [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
How to disable highlighting of the app icon?
Hi this is an iPhone objective C question.
When I set the icon file for the app, say, icon.png. When it is shown on the phone, a white reflection effect is automatically added on the icon.png
Is there any way to remove te reflection effect? Cause I can see that there are apps without the white reflection effect on the icons
Open your Info.plist file, can also be named ProjectName-Info.plist, and add a new line. The Key-column is a drop down list, click it and scroll through a quite large set of keys in human readable form that are possible to set.
The one you are looking for is called "Icon already includes gloss and bevel effects", that is the human readable form. Writing UIPrerenderedIcon, also works.
Adding this flag will also disable the automatic addition of gloss and bevel in Tunes Store, and on the App Store.
In Xcode 4.3.2 you might also need to define the icons as pre-rendered.
Click on your project on the left, select your target, and under the Summary tab you'll see the App Icons, along with a "Prerendered"checkbox. Check this box and rerun your app.
If the icon hasnt changed yet, you might also need to delete and reinstall (rerun) the app on your device, or perhaps even restart the device, before the new icon is used.
In your info.plist file, add a key called UIPrerenderedIcon and set its value to true.
This will prevent the sdk from automatically adding the glossy shine to your icon

How to disable highlighting of the app icon?

How can I disable the highlighting that appears on my icon while it's being displayed on the home page of iPhone?
Thanks.
The easiest way is to check the Prerendered check box on your target's Summary tab:
Alternatively, set the value of Icon files (iOS 5) > Primary Icon > Icon already includes gloss effects to YES in your application's Info.plist.
In new xcode 4 all you need is to add a new entry and search the following in list:
"Icon already includes gloss effects"
Example:
Thanks
I tried this several times and became slightly frustrated because it wasn't working. Turns out I already had this option set to NO and hidden under Icon files.
Hopefully this helps someone else.
In Xcode 5 this setting changed place. In order to access it select your xcassets, select the app icon entry and, in the attributes inspector, select the iOS icon is pre-rendered checkbox.
From the iPhone HIG:
Note: If you choose, you can prevent iPhone OS from adding the shine to your icon. To do this, you need to add the UIPrerenderedIcon key to your application’s Info.plist file (read iPhone Application Programming Guide to learn about this file).
Your icon should still measure 57 x 57 pixels, regardless of whether you take advantage of the added shine.
Open your Info.plist file, can also be named ProjectName-Info.plist, and add a new line. The Key-column is a drop down list, click it and scroll through a quite large set of keys in human readable form that are possible to set.
The one you are looking for is called "Icon already includes gloss and bevel effects", that is the human readable form. Writing UIPrerenderedIcon, also works.
Adding this flag will also disable the automatic addition of gloss and bevel in Tunes Store, and on the App Store.
UIPrerenderedIcon is the setting that you want to set.
Actually, it is probably a good idea to read through all of the Info.plist options you can set. It may save you from trying to replicate some functionality that is provided by default.
The "Friendly" version of this key is now displayed by XCode 4 as "Icon already includes gloss effects" in case anyone else has trouble finding it.
Set UIPrerenderedIcon to true in your Info.plist.
From Xcode 4.3 there is a checkbox called "Prerendered" next to the icon in the Target/Summary configuration. Check that and the shine will be not added. For me "Icon already includes gloss effects" did not work.
With Xcode 4.3.2, you can also use the Key Icon already includes gloss effects and set it's value to YES. This removed the glossy shine for me from my app icon.