1

In my iOS application I want to display images in zoom. When tap the image it should comes to full view and back.

How do I view images in full screen programmatically in iOS?

2 Answers 2

1

See the contentMode of UIImageView as UIViewContentModeScaleAspectFit and UIViewContentModeCenter in display of images.

0

Add an imageview for your screen what ever you want, display image on that using

imageview.image = [UIImage imageNamed:@"image.jpg"];

if you want back just remove imageview on a button click or timer what ever you wane using

[imageview removeFromsuperview]; 

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.