开发者

iphone - UIImageView zoom programmatically

Using CATransition, can I zoom an image view in 开发者_如何学PythoniPhone? Is it possible?


You could use a UIScrollView and its zoomToRect: method.

See: http://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIScrollView_Class/Reference/UIScrollView.html


Or... you should use a UIWebView (thats what I did in "Seriously Good! Gluten Free"). You can put in images in HTML code and you get all of the zoom, pan and etc for free! :) And it will work with all versions of the SDK.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜