开发者

Implement UIScrollView which holds an image

开发者 https://www.devze.com 2023-01-05 09:39 出处:网络
I would like to Implement a UIScrollView which should hold an image which is the same width as开发者_JAVA百科 the screen, but a lot larger in height.

I would like to Implement a UIScrollView which should hold an image which is the same width as开发者_JAVA百科 the screen, but a lot larger in height.

DO I add a UIImageView to the scrollView or how is this done?

Thanks in advance.


Yes, that is the correct way to go. Don't forget to set the contentSize of the UIScrollView.

0

精彩评论

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