⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt

📁 一个 在 apple 下打开手机 preference 得程序
💻 TXT
字号:
AppPrefsDemonstrates how to display your app's preferences or settings in the "Settings" system application.  A settings bundle, included in your application’s bundle directory, contains the information needed by the Settings application to display your preferences and make it possible for the user to modify them. It then saves any configured values in the defaults database so that your application can retrieve them at runtime. This sample offers an Xcode project already pre-configured to build your Settings bundle as a target.  To customize your settings UI, change the Root.plist file.Build RequirementsMac OS X 10.5.3, Xcode 3.1, iPhone OS 2.0.Runtime RequirementsMac OS X 10.5.3, iPhone OS 2.0.Using the SampleLaunch the AppPrefs project using Xcode 3.1.  Make sure the project's current target is set to "AppPrefs".  Build and run the "AppPrefs" target.To run in the simulator, set the Active SDK to Simulator. To run on a device, set the Active SDK to the appropriate Device setting.  When launched notice the text, its color and the view's background color.  Quit the application and launch "Settings".  At the end of the settings list you will find a section for "AppPrefs".  From there you can set the first and last name, its color and the app's background color.  Quit Settings and return to AppPrefs and notice the settings have changed.Packaging Listmain.m - Main source file for this sample.AppDelegate.h/.m - The application' delegate to setup its window and content.MyViewController.h/.m - The main UIViewController containing the app's user interface.Root.plist - The scheme file for your settings bundle.Further InformationFor more information on extending the Settings application, refer to -	"Setting Application Scheme Reference"	"iPhone OS Programming Guide".Changes from Previous Versions1.0 - First release.1.1 - Updated for and tested with iPhone OS 2.0. First public release.Copyright (C) 2008 Apple Inc. All rights reserved.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -