Bundle display name(CFBundleDisplayName) missing space characters in iOS 11 - ios

When I give Bundle display name with space as "my app display name", I get the app name as ("myappdisplay..."). This happens only on the iOS 11 , in iOS 10 and below(<) it is showing properly as ("my app displa...") .
I tried to override name "CFBundleDisplayName" in my Info.Plist with unicode character   ,working fine at iOS 11 but it is showing double space in iOS 9 and 10.
Another question is this a feature or a bug ? If it is feature , Can you provide me apple official link.

Open info.plist as Source code(right click, open as...)
Find CFBundleDisplayName
Replace normal space with unicode  
  works only when typed in *.plist. Can't be inserted in Display name in Xcode project settings;
From: Bundle display name missing space characters
Developer apple: https://forums.developer.apple.com/thread/77832
You could check other answers for this post, they explain the reason.

Related

Spaces are not respected CFBundleName or CFBundleDisplayName

I am wondering how Google Calendar is able to maintain a space in it's display name on iOS. While my app cannot.
The issue I am about to describe below only occurs if the app is archived and uploaded to testflight and installed on a physical device via the Testflight app
I am trying to call my app Toronto Ponic with a single white space character.
Here is what I've tried so far:
Product name is "Toronto Ponic" i.e CFBundleName
Bundle display name is "Toronto Ponic" CFBundleDisplayName
I've tried to add Toronto Ponic for both CFBundleName and CFBundleDisplayName
I've tried to add Toronto Ponic for both CFBundleName and CFBundleDisplayName
I've tried to build my app in UIKit with Legacy build system + steps 1, 2, 3 & 4 mentioned above.
Nothing works. This issue occurs on every version of iOS 14+ and every recent version of Xcode 13.2.1 -> 13.3.1
The documentation says 30 characters max. It says nothing about stripping spaces from names with > 12 characters.
Any ideas?

flutter app name mismatch with ios bundle name

i am trying to set my app name as "Name Example" but it shown like "NameExample" and remove the white spaces
apple shrink app name on small devices

iOS localization is broken with the upgrade iOs 9 + Xcode 7

I localized my app in Italian and English, using the Localizable.strings file and the NSLocalizedString macro. I also enabled base localization. Everything works fine in the simulator and on devices with iOS 8, but on iOS 9 the app is always in english, even on devices with the italian language selected as default in the iPhone settings.
Does iOS 9 changes something with localization?
Here's a screenshot of the Xcode localization settings
1
And of the device used for testing
Thanks in advance
Solved, the "problem" was the key "Localization native development region" in the info.plist file. It was setted to Italy, so when the app was running in a device with the Italian language as default it was showing the Base localization version of the strings (the English version).
Changing the value to United States solved the issue.
I have another solution, just remove the key 'Localizations' in info.plist.
It works for my case.
I've found a workaround.
The root cause of this problem is Apple changed the "Language Identifiers" in iOS 9, please refer this.
Since NSLocalizedString() (and variants thereof) access the "AppleLanguages" key in NSUserDefaults to determine what the user's settings for preferred languages are. I forced NSLocalizedString to use a specific language with is noted as their old Language Identifiers in older iOS versions once I found their Language ID is in new format. In another word, I made a mapping of "AppleLanguages" key value.
To do this, please refer to: How to force NSLocalizedString to use a specific language
I think Apple did a very bad job in compatibility!!

Change title under app icon for iPhone 6

I need to change the name that appears below the app icon. I referred to this answer:https://stackoverflow.com/a/2189996/2376667.
While changing the bundle name does the trick for other iOS devices, it is not working for iPhone 6 and iPhone 6 Plus.
eg; if the previous bundle name was "MyApplication" and the new bundle name is "My Application", for rest of the devices the title gets shown as "My Application" but for iPhone 6 and iPhone 6 Plus, it still gets shown as "MyApplication". So I suppose it is not honouring the space that has been inserted. How do I get the changed name to display for iPhone 6?
Changing App Name is pretty straight forward. It has to be the product name.
Go to
Build Settings -> Packaging -> Product Name
After setting it, Xcode should be the one generating the necessary changes to the other properties.
If you followed the reference given.
Kindly put back the Bundle Name value to its default ${PRODUCT_NAME}
I've done this numerous time and it always work.
You don't have to but you could reset the simulator just to be sure you're working on a clean state.
Change Bundle name and Bundle display name in Custom iOS Target Properties in Info plist

iOS app name with separate words

I have developed an iOS app in FireMonkey XE5 (Update 2) and am deploying this on an actual device. Is it possible to have the app name as two words with a space in between eg. "My App"
One cannot include spaces in the project name in Delphi.
I cannot see any options to set this, and in the Deployment options I have changed the "Remote Name" of my project output file, but that does not work.
The name that appears under the icon on the IOS screen is in:
Project - Options - Version Info - CFBundleDisplayName.
You can change that to anything you want.
From iOS 11 - iOS system will delete simple spaces from a CFBundleDisplayName name.
So insert Unicode Character 'FIGURE SPACE'. Press Alt + 2007 - this will create this char: ╫ . Now recompile project - and you will see space in iOS project.
E.g.: My╫Project

Resources