stefanceriu / SCPageViewController

Just like UIPageViewController but better.. :)
MIT License
352 stars 70 forks source link

Issue in Navigating Back To Home Controller #22

Closed sanjayrathore36 closed 8 years ago

sanjayrathore36 commented 8 years ago

when adding lots of controller dynamically and moving back to previous controller (i.e. Home Controller) first it shows initial page of loaded view controllers then goes back.

stefanceriu commented 8 years ago

I'm sorry but I don't really understand what that means. Please send me a sample project or snippet that I can use to reproduce the problem.

hunaid-hassan-confiz commented 8 years ago

Yes, it does happen when you push the PageViewController and then swipe left i.e. you are at index 1 or above. And then if you push 'back' on the navigation bar; during the pop navigation, the n-1th controller would show up for a split second, given n > 0.

MarioBajr commented 8 years ago

Still not clear. Just send a snippet to make it clear.

I believe that you just forgot to enable ClipToBounds on the view of the PageViewController.

hunaid-hassan-confiz commented 8 years ago

ClipToBounds fixed it. Lotta thanks Hope it works for the the reporter too.

sanjayrathore36 commented 8 years ago

By setting this property navigation works smoothly. thanks Guys

stefanceriu commented 8 years ago

:clap: @MarioBajr :smile: