应用程序设置帮助

发布于 2024-11-04 19:20:18 字数 266 浏览 5 评论 0原文

我正在为我正在开发的 iPhone 应用程序开发设置页面。基础知识很简单,但我在某些默认 iPhone 的设置中看到了一些有趣的东西,我想知道它们是否很容易创建。

特别是有两件事是使用 UITextView 作为子窗格(一个例子是邮件应用程序设置中的签名)以及使设置根据开关显示和消失(一个例子是 Wifi 设置中)。

如果这些很容易实现,有什么想法吗?

编辑:我知道我可以通过创建自定义设置页面来实现类似的效果。我想知道的是我提到的事情对于应用程序创建者来说是否可行。

I'm developing the settings page for an iPhone application I'm working on. The basics are simple enough but there are some interesting things I've seen in the settings for some of the default iPhone and I was wondering if they are easy to create.

Two things in particular are having a UITextView as a child pane (an example of this is the signature in the Mail app settings) as well as having settings appear and disappear based on a switch (an example would be in the Wifi settings).

Any ideas if these are somewhat easily achievable?

EDIT: I'm aware I can achieve a similar effect by creating a custom settings page. What I want to know is if the things I mentioned are possible for application creators.

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

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

发布评论

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

评论(2

尘曦 2024-11-11 19:20:18

使用 UITableView 并为各种设置构建 UITableViewCell 类的自定义子类。您可以轻松地操作表格视图,使事物动态地出现和消失。

Use UITableView and build your custom subclasses of UITableViewCell class for various settings. You can easily manipulate a table view for making things appear and disappear dynamically.

悲歌长辞 2024-11-11 19:20:18

正如@Kakosquid 建议的那样,您可以尝试使用自定义单元格的表格视图。您可以浏览此教程,了解有关自定义单元格的更多信息

As @Kakosquid suggested you can try a table view with custom cells. You can go through this tutorial for more info on custom cells

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