开发者

iphone - UIImageView zoom programmatically

开发者 https://www.devze.com 2023-01-30 17:05 出处:网络
Using CATransition, can I zoom an image view in 开发者_如何学PythoniPhone? Is it possible?You could use a UIScrollView and its zoomToRect: method.

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

精彩评论

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