简体   繁体   中英

i need to load view using .xib when button pressed (without using view controller for this xib)

我有一个具有按钮的现有视图控制器,当按下其中一个按钮时,我希望加载视图以加载以显示文本

You can look at UIView. You can create a new UIView instance by method : [[UIView alloc] initWithFrame:]

UIView

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM