在“设置”应用中创建诸如邮件设置之类的设置
我想创建一些设置,就像“设置”应用程序中的“邮件”设置一样。这些允许您将邮件帐户添加到表格的末尾
First screen
---------------
+ | add account |
---------------
当他们单击单元格时,他们会被推送到一个新屏幕,在其中填写一些文本字段
Second screen
-----------------
|(cancel) (save)| - the toolbar
-----------------
----------------
| email |
----------------
|another field |
----------------
然后当他们返回时,他们可以看到新记录以及“添加帐户”单元格。
First screen
---------------
| email 1 |
---------------
+ | add account |
---------------
它需要在应用程序内而不是在“设置”应用程序内。最好的方法是什么?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
UITableView(Controller) 和 UINavigationController 是您的朋友...它们非常全面,因此请务必完成示例和指南。
UITableView(Controller) and UINavigationController are your friends here... They are quite comprehensive, so make sure to work through the samples and guides.
查看 Apple 的 CoreDataBooks 示例: http://developer.apple.com/iphone/library/samplecode/CoreDataBooks/Introduction/Intro.html#//apple_ref/doc/uid/DTS40008405-Intro-DontLinkElementID_2
它将给出您知道如何设置 UITableView 组以及 UITableViewController。
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
It will give you an idea how how to set up a group UITableView as well as a UITableViewController.