Reputation: 1531
I have an embedded Page View Controller inside my VC.
What is the best solution to add a tap gesture on the image, so that it will open in a full screen with zoom enabled / paging between the images?
Should I try to animate this in my current VC or should I open it inside another VC?
Thanks in advance,
Upvotes: 0
Views: 563
Reputation: 8608
I would animate the page view controller to fill the screen instead of adding a new UIViewController
, here is why:
UIViewController
and re-load again. Also adding another UIViewController
to the stack isn't the end of the world but should be avoided if possible. UIViewController
would be extremely redundant. Upvotes: 1