iPhone - 如何将正常文本添加到设置包 [英] iphone - how to add normal text to settings bundle

查看:128
本文介绍了iPhone - 如何将正常文本添加到设置包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在iphone设置中创建了3个组捆绑Root.plist文件。
显示正常。

I've 3 groups created in iphone settings bundle Root.plist file. Its showing fine.

但是对于每个组,我想添加一些描述。它将如下所示:

But for every group, i want to add some description. It will be something like follows:

GroupName
描述
该组中的设置。

GroupName Description Settings in that group.

有可能吗?如何添加说明?如果描述颜色不同以识别该组中的组名称和设置,那就很好。

Is it possible. How to add description? If the description color is different to identify from group name and settings in that group, it will be good.

推荐答案

您可以添加组底部的文字,通常用作关于该组中偏好设置的提示。

You can add text at the bottom of your Groups, that is commonly used as a hint about the preferences in that group.


  1. 添加新项目到组(是!,除了默认的标题类型键)。

  2. 将Key列下的文本替换为 FooterText 的New Item。

  3. 在Type列下设置类型为您的新密钥为字符串

  4. 在新密钥的值列下的字段上写下您想要的任何内容。

  1. Add a new item to a Group (Yes!, additionally to the default Title and Type Keys).
  2. Replace the text under the Key column that reads "New Item" for FooterText.
  3. Under the Type column set the type for you new Key as String.
  4. Write whatever you want on the field under the Value column for the new Key.

并且......voilà!

And... voilà!

下次构建并启动应用程序时,请转到设置和应用程序的首选项,以查看您放置它的组下的文本。

Next time you build and launch the App go to Settings and to your App's preferences to see the text under the Group you placed it.

这篇关于iPhone - 如何将正常文本添加到设置包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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