开发者

Save image and scroll in interface builder?

开发者 https://www.devze.com 2022-12-29 05:18 出处:网络
How do I get Interface builder to save开发者_运维百科 images on the screen, and add the ability to scroll?What do you mean by \"save images on the screen\"? If you want to display an image in a view,

How do I get Interface builder to save开发者_运维百科 images on the screen, and add the ability to scroll?


What do you mean by "save images on the screen"? If you want to display an image in a view, you can simply drag a UIImageView onto the view in Interface Builder and set the image to whatever image you want (see Graphics and Drawing for more information).

As for scrolling, if you're using standard controls like UITableView or UITextView, these already have scrolling built-in, so you don't need to worry about adding scrolling capabilities. If you're doing something custom, then you probably want to look into UIScrollView.

0

精彩评论

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

关注公众号