tags:

views:

192

answers:

1

I want to show my copyright statement as a subview in one of the settings.bundle items. I've googled for this but no much help was found. Does anyone know how to do this? Thnaks a lot.

A: 

Hey Joey,

The look and feel of your settings pane is completely based on the XML plist files in your settings bundle. The Settings application reads the plist file and creates views and subviews to match the properties it finds. This may seem limiting, but it's a deliberate move: it makes all the settings panes consistent so the Settings app has a unified feel.

You can create sub-plists in your settings bundle that define "subviews" and allow you to create hierarchical preference interfaces. You can find information about that in the docs here: Hierarchical Preferences - iPhone Programming Guide.

To display your copyright statement, you could have one of these sub-plists define only a "PSTextFieldSpecifier" field. Then the user could click the "Copyright" item in your prefs, and see the entire interface slide to the left to reveal your copyright text.

Hope that helps!

  • Ben
Ben Gotow