在 Cocoa Touch 环境中使用的 AppKit 中的等效 NSBox 是什么?

发布于 2024-11-12 06:18:40 字数 56 浏览 3 评论 0原文

UIKit for iPad 中是否有类似于 AppKit for MAC 中的 NSBox 类?

Is there a similar to NSBox class from AppKit for MAC in UIKit for iPad?

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

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

发布评论

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

评论(1

不弃不离 2024-11-19 06:18:40

并不真地。您必须自定义 UIView,但这并不难。您可以轻松地创建一个看起来完全相同的 UIView,最好的部分是,当您删除 uiview 时,其中包含的所有项目都将被删除。

实际上,所有项目(如 uibutton 和 uiscrollview)实际上都是 UIview 的子项。

Not really. You will have to customize a UIView, but its not that hard. You can easily make a UIView that looks completely identical, and the best part is that when you remove the uiview, all the containing items inside it are removed.

in effect, all items (like uibutton and uiscrollview) are actually children of UIview.

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