问题描述
我想创建一些设置,就像设置"应用中的邮件设置"一样.这些允许您将邮件帐户添加到表的末尾
I want to create some settings much like the Mail settings within the Settings app. These allow you to add mail accounts to the end of the table
First screen
---------------
+ | add account |
---------------
当他们单击单元格时,它们会被推到新屏幕上,并在其中填充一些文本字段
When they click on the cell, they are pushed onto a new screen where they fill in a few textfields
Second screen
-----------------
|(cancel) (save)| - the toolbar
-----------------
----------------
| email |
----------------
|another field |
----------------
然后,当他们返回时,他们可以看到新记录以及添加帐户"单元格.
Then when they go back, they can see the new record as well as the 'add account' cell.
First screen
---------------
| email 1 |
---------------
+ | add account |
---------------
它需要在应用程序内而不是在设置"应用程序内.最好的方法是什么?
It need to be in-app rather than within the Settings app. What's the best way to do this?
推荐答案
查看Apple的CoreDataBooks示例: http://developer.apple.com/iphone/library/samplecode/CoreDataBooks/Introduction/Intro.html#//apple_ref/doc/uid/DTS40008405-Intro-DontLinkElementID_2
Check out Apple's CoreDataBooks example: http://developer.apple.com/iphone/library/samplecode/CoreDataBooks/Introduction/Intro.html#//apple_ref/doc/uid/DTS40008405-Intro-DontLinkElementID_2
它将为您提供一个概念,如何设置组UITableView以及UITableViewController.
It will give you an idea how how to set up a group UITableView as well as a UITableViewController.
这篇关于在“设置"应用中创建诸如“邮件"设置之类的设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!