简体   繁体   中英

Add views to a storyboard programatically

I'm going to explain my situation 1st so that the question is clear. I'm using a scrollview with images in it right now. Those images right now link to different views in a storyboard. Instead what I'd like to do is have that image open up a new UIScrollview w/ views displayed. These views are already in the storyboard of course without nibs.

So I'm essentially trying to display UIViews in a UIScrollView.. except I cant' initialize with nib (at least to my knowledge).

如果要在Storyboard中寻找一个设置滚动视图的地方,请使用awakeFromNib

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