shabib87 / SHViewPager

A simple view pager for iOS. Compatible with iOS 8.0 or later.
https://www.codewithshabib.com
MIT License
124 stars 25 forks source link

Dismissing Image Picker Controller (presented from any ViewController inside ViewPager) takes control to first ViewController of ViewPager #8

Open vuevrn opened 8 years ago

vuevrn commented 8 years ago

I am using this pager. thanks!

I am using SHViewPager as UIView and showing all view controllers inside this view pager.

When I present an image picker controller from any viewcontroller of viewpager, everything works fine.

The problem is when I dismiss an image controller, the viewpager shows the first viewcontroller of viewpager which is not an expected behavior, pager should show the viewcontroller from which it was presented.

Please check.