Interface builder和iphone sdk

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Interface builder和iphone sdk相关的知识,希望对你有一定的参考价值。

Para usar el interface builder con el iphone hay que crear una vista o una ventana, guardarla dentro del proyecto, y meter esta línea en appdelegate en applicationDidFinishLaunching.
  1. La ventana:
  2. self.window = [[[NSBundle mainBundle] loadNibNamed:@"MyView" owner:self options:nil] objectAtIndex:0];
  3.  
  4. La vista:
  5. self.contentView = [[[NSBundle mainBundle] loadNibNamed:@"MyView" owner:self options:nil] objectAtIndex:0];

以上是关于Interface builder和iphone sdk的主要内容,如果未能解决你的问题,请参考以下文章

如何为 iPhone 创建自定义 Interface Builder 插件?

在 Interface Builder 中为 Iphone 创建弹出视图控制器

iPhone - 使用 Interface Builder 创建一个带有后退按钮的简单 UINavigationBar

在 Interface Builder 中创建的 Table View Controller 的底部单元格在 iPhone X 上被剪裁和隐藏

如何在 Interface Builder 中获取 iPhone,而不是 iPad 视图

如何使用主 iPhone 视图之外的 UI 元素在 Interface Builder 中设置 UIScrollView?