How to display info text in iphone application settings?
Asked Answered
C

2

0

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?

Chong answered 29/11, 2011 at 9:8 Comment(0)
F
2

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

Finegrained answered 29/11, 2011 at 10:5 Comment(0)
Z
0

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

Zionism answered 29/11, 2011 at 9:17 Comment(1)
The question is how to do it with the button, that you first have a button in settings which opens the textChong

© 2022 - 2024 — McMap. All rights reserved.