iOS 应用程序扩展只显示一个名称,而不是 "App - Extension"?
Just have one name appear for iOS app extension, not "App - Extension"?
开发者指南提到:
"An app extension needs a short, recognizable name that includes the name of the containing app, using the pattern 'Containing app name'—'App extension name'. This makes it easier for users to manage extensions throughout the system. You can, optionally, use the containing app’s name as-is for your extension, in the common case that your containing app provides exactly one extension."
如何使扩展显示为 'Containing app name'?指导方针并没有真正解释如何做到这一点,只是说这是可能的。
我不能只将扩展程序的 Bundle Display Name 更改为空字符串“”。
使扩展的名称与包含的应用程序的名称匹配,扩展部分将在显示时消失。