开发者

Referencing a View from another View in InterfaceBuilder

开发者 https://www.devze.com 2023-01-01 23:50 出处:网络
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 positione

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

精彩评论

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