Dilbert on Apps and the Value of Ideas Ready Player One – A Last Minute Christmas Gift
Dec 12

I have commented about developers who do not take the time to display a proper name under the app icon before on this blog.

Recently I experienced a variation on this issue. An app that I was working on was a universal app (both iPhone and iPad). The name of the app fit perfectly under the app icon on the iPad, but on the iPhone (where the icon is smaller) the name got truncated with the ugly … in the middle of the name.

As you may recall, the best way to control the name that is displayed under the app icon is to create an entry in the InfoPlist.strings file like this:

"CFBundleDisplayName" = "YourAppName";

Instead of resorting to abbreviating the name on the iPad just so that it would fit on the iPhone, I wondered if there was a way to have different strings for each platform. After some experimentation it turns out that there is. And it’s quite logical too. Just add the usual ~iphone and ~ipad suffixes after the key, and it just works.

"CFBundleDisplayName~iphone" = "iPhoneName";
"CFBundleDisplayName~ipad" = "iPadNameLong";

written by Nick \\ tags:

One Response to “Different App Display Names for iPhone and iPad”

  1. Chris C Says:

    Nice tip!

Leave a Reply