开发者

Set the maximum zoom scale on a UIImageView?

Is there a way to set the maxim开发者_如何转开发um zoom level on a UIImageView?


I think imageviews don't really have the funcionality to zoom, most likely you'll want to slap down a uiscrollview and then insert the imageview as a subview, at that point you'll be able to set the max/min zoom scale on the scrollview. There is an apple sample code project called scrolling that is pretty simple example of scrollviews and imageviews:

http://developer.apple.com/library/ios/#samplecode/Scrolling/Introduction/Intro.html

hope that helps.

nick

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜