Reputation: 70416
I wonder if it is possible to have a button in application settings just like the facebook app has:
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:
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
Reputation: 29767
Ok, let's look to below images:
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.
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).
It is a content for NewInfo.plist
Upvotes: 2
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