在 Cocoa Touch 环境中使用的 AppKit 中的等效 NSBox 是什么?
UIKit for iPad 中是否有类似于 AppKit for MAC 中的 NSBox 类?
Is there a similar to NSBox class from AppKit for MAC in UIKit for iPad?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
并不真地。您必须自定义 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.