在“设置”应用中创建诸如邮件设置之类的设置

发布于 2024-09-04 14:26:07 字数 613 浏览 0 评论 0原文

我想创建一些设置,就像“设置”应用程序中的“邮件”设置一样。这些允许您将邮件帐户添加到表格的末尾

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

爱的故事 2024-09-11 14:26:07

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.

夕嗳→ 2024-09-11 14:26:07

查看 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文