Summary
In the use of software we can sometimes see that some software can be configured in the system of the corresponding parameters of the software, how to generate and use this feature is today's protagonist pull. The main method is to create a new settings bundle type resource file in the project, and then modify add some item to achieve this function. For setup, there is no need to write code, and if the program needs to read these configuration information, it can be read by the key of each item, mainly using the Nsuserdefaults class implementation
Run Results
Process Overview
1. After creating a new profile, you can open the file (using the property sheet by default) and edit the table entry.
2. The group type in the configuration is used to segment, this section group is until the next group between
3. You can set different item types as needed, such as text, switches, sliders, and sub-settings pages.
4. If you want to set the icon or sub-page, you need to navigate to the configuration file (default is Root.plist), then right-click the package content (the file is a compressed package), and then put the picture and sub-page file (sub-page file similar to root.plist file ) into the package, You can then add the corresponding file name when you edit the configuration file (the child page does not include the file name suffix).
Main code
Slightly
Engineering Code
ios-Application Settings