Satyam
Satyam

Reputation: 15894

iphone - UIImageView zoom programmatically

Using CATransition, can I zoom an image view in iPhone? Is it possible?

Upvotes: 0

Views: 2237

Answers (2)

henklein
henklein

Reputation: 777

You could use a UIScrollView and its zoomToRect: method.

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

Upvotes: 2

Thomas Clayson
Thomas Clayson

Reputation: 29925

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.

Upvotes: 0

Related Questions