iOS - 可编辑表单(联系人应用程序风格)

发布于 2024-12-28 10:43:32 字数 270 浏览 4 评论 0原文

我正在创建一个 iOS5 应用程序,我想要的是“编辑”按钮功能,具体来说,采用动态填充的普通样式 TableView,当按下导航栏中的“编辑”按钮时,它会更改表单进入可编辑(和分组样式)TableView。

大多数 Apple 应用程序都可以看到此功能,用户可以在其中编辑存储的数据。谁能告诉我是否可以拨打特定电话来获得此信息?我认为有一个官方的方法或模式可以使用,因为它在苹果应用程序中出现得如此频繁。

我一直在互联网上搜索,但到目前为止还没有找到任何结论。欢迎任何建议,或设计模式/方法等。

I'm in the process of creating an iOS5 application, what I'm after is the 'Edit' button functionality, specifically, taking a dynamically populated plain style TableView, and when the Edit button in the NavBar is pressed, it changes the form into an editable (and grouped style) TableView.

This functionality is seen through most Apple applications where the user can edit stored data. Can anyone tell me if there are specific calls that can be made to get this? I thought there be an official approach or pattern to be used, seeing as it appears so frequently in Apple applications.

I've been searching the internet and haven't found anything conclusive as of yet. Any suggestions welcome, or design patterns/approaches etc.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

油饼 2025-01-04 10:43:32

看看 UITableView 类 参考。特别是“管理表单元格的编辑”部分

以及 编辑模式

Have a look at the UITableView class reference. Particularly the section on "Managing the Editing of Table Cells"

And also the Table View Programming guide section on Editing Mode.

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