在Delphi XE4中是否可以更改应用程序的短标题而不使其与Project dpr名称相同? [英] Is it possible in Delphi XE4 to change the app short title without making it the same as the Project dpr name?

查看:178
本文介绍了在Delphi XE4中是否可以更改应用程序的短标题而不使其与Project dpr名称相同?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在写我的第一个delphi驱动的iPhone应用程序。我已经创建了它,但是我希望它被命名为除了.dpr文件的名称之外的其他东西,因为dpr文件不能包含空格,例如,EXE名称并不总是与人类可读的名称相同,可以分配一个App



在Windows Delphi应用程序中,EXE命名与.dpr文件相同,因为您的快捷方式中的英文名称或桌面上的本地化名称或者在任何其他非英语位置的开始菜单中不一定与您的项目名称相同。在iOS中,应用程序的短名称可能包含一个空格,而Delphi项目名称不能,所以我很惊讶地看到这两个是紧密联系在一起的。



在XCode中,您可以在iOS主屏幕上单独设置您的包名称,项目名称和可见名称。我的问题是,由于我刚刚安装了Delphi XE4(RTM),而且我正在尝试:


  1. 我可以将项目ID设置在项目选项的某个位置吗?我似乎找不到。 Bundle ID对于应用程序商店的任何应用程序都非常重要,但我看不到可以设置它的UI元素。


  2. 可以我还在某个地方设置了显示名称?


  3. 我可以看到并编辑应用的.plist(苹果要求所有应用在iOS上拥有的属性列表)某处或是为我生成的,没有机会看到或修改它?在Windows中的Debug\文件夹中似乎.plist文件位于磁盘上,这意味着Delphi XE4将其视为输出工件而不是输入源文档,因为它将在Xcode项目中。



解决方案

是的,在项目选项下,您将找到版本信息。对于iOS应用,这是捆绑信息。您可以单独留下,但是有一个CFBundleDisplayName属性用于更改显示名称。你可以在这里设置其他的信息包。



Xe4 Docwiki


I am writing my first delphi-powered iPhone app. I have created it but I would like it to be named something other than the name of the .dpr file because dpr files cannot contain spaces, for instance, EXE names are not always the same as the human-readable name one might assign an App.

Wherease in Windows Delphi apps the EXEs are named the same as the .dpr file which is fine because the english name in your shortcut, or your localized name on your desktop or in your start menu in any other non-english location are not necessarily the same as your project name. In iOS an app short name might include a space, whereas a Delphi project name can not, so I am quite surprised to see that the two are hard-linked together.

In XCode, you can set your bundle name, your project name, and your visible name on the iOS home screen all separately.

My question is, since I have just installed Delphi XE4 (RTM) today, and I'm trying it out:

  1. Can I set the bundle ID somewhere inside the project options? I can't seem to find it. Bundle id's are very important for any app that is heading towards the app store and yet I can't see a UI element where you can set it.

  2. Can I also set up a display name somewhere?

  3. Can I see and edit the app's .plist (the property list that Apple requires all apps to have on iOS) somewhere or is it generated for me with no chance to see or modify it? It seems the .plist file is on disk in my Debug\ folder in windows, which means Delphi XE4 sees it as an output artifact and not as an input source document, as it would have been in an Xcode project.

解决方案

Yes, under Project Options you will find Version Information. For iOS apps, this is the bundle information. You can leave most alone but there is a CFBundleDisplayName property for changing the display name. You can set your other bundle info here too.

Xe4 Docwiki

这篇关于在Delphi XE4中是否可以更改应用程序的短标题而不使其与Project dpr名称相同?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆