DarkLeafyGreen
DarkLeafyGreen

Reputation: 70416

How to display info text in iphone application settings?

I wonder if it is possible to have a button in application settings just like the facebook app has:

enter image description here

As you see there is an Info entry. I know I can achieve this with the multi value specifier but it requires some values and not just text:

enter image description here

So when you tap on Info it opens a view that has just a long title element.

Any ideas how to achieve this?

Upvotes: 0

Views: 687

Answers (2)

beryllium
beryllium

Reputation: 29767

Ok, let's look to below images:

enter image description here

This is a Root.plist in Setting.bundle. Here are Item5 - Group called 'Title' and Item6 - button called 'Hello'. Notice to the record Filename and value NewInfo.


enter image description here

NewInfo is a new .plist file which you should place into Settings.bundle. In Xcode right mouse click on Setting.bundle->Show In Finder->right mouse click on Setting.bundle->Show Package Content->Copy/Past for create new item(rename after, remove all unnecessary rows).


enter image description here

It is a content for NewInfo.plist

Upvotes: 2

quaertym
quaertym

Reputation: 3961

Add new item to Root.plist in Settings.bundle. Then set type to Group and write your text in the Title field.

Upvotes: 0

Related Questions