How to display informational text in iphone application settings?

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

enter image description here

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

enter image description here

So, when you click on Info, a view opens that has only a long title element.

Any ideas how to achieve this?

0
source share
2 answers

Ok, look at the images below:

enter image description here

This is Root.plist in Setting.bundle. Here, Item5 - Group is called "Title" and Item6 is a button called "Hello". Note the Filename entry and the value of NewInfo.


enter image description here

NewInfo is a new .plist file that you must place in Settings.bundle. In Xcode, right-click on Setting.bundle-> Show In Finder-> right-click on Setting.bundle-> Show Package Contents-> Copy / Past to create a new item (rename after, delete all unnecessary lines).


enter image description here

This content is for NewInfo.plist

+2
source

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

0
source

Source: https://habr.com/ru/post/902864/


All Articles