0

I'm new in ios development and i want to open images in fullscreen mode like facebook iphone app , also I want the event which let you drag image to down and then open the image in fullscreen mode. So anyone can help men ?

yehia dahab
  • 3
  • 1
  • 2
  • Welcome to SO - I encourage you to demonstrate some kind of effort or research on your part, people will be much more inclined to help. Also try to phrase the question really specifically. – alexwhan Jun 16 '13 at 11:33

2 Answers2

2

You could use this pod: XLMediaZoom. We recently developed it for our needs and shared here: XLMediaZoom

If you use CocoaPods in your projects you just need to add

pod 'XLMediaZoom'

This utility let you preview images and videos in fullscreen like Instagram does.

RemeR
  • 667
  • 8
  • 20
0

To open image in full screen try this :

self.imageView.frame = CGRectMake(0, 0, self.view.bounds.size.width, self.view.bounds.size.height);

To let the user drag the image use UIPanGestureRecognizer.

To look at examples of UIPanGestureRecognizer refer to this.

Geek
  • 8,280
  • 17
  • 73
  • 137