开发者

Referencing a View from another View in InterfaceBuilder

Is it possible to position a view defined in a XIB as a subview in yet another view in that same XIB file? Alternatively, is there a way the "subview" can be defined in another XIB file and positioned in the first view in a different XIB? I've figured out how to do this for UIViewControllers but not for UIViews. Has anyone figured out how开发者_高级运维 to do either of these?


You can view your nib file objects in a tree view and drag and drop one view to be a subview of another.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜