iphone - how to add normal text to settings bundle

后端 未结 4 1926
面向向阳花
面向向阳花 2021-02-02 09:35

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 follow

4条回答
  •  时光取名叫无心
    2021-02-02 10:03

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

    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.

    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.

提交回复
热议问题