EZSwipeController icon indicating copy to clipboard operation
EZSwipeController copied to clipboard

Feature Request: Make viewController appear over current context

Open otymartin opened this issue 7 years ago • 6 comments

@goktugyil

I would like to be able to have my last view controller appear right above my second last so to maintain context. Much like this example.

snapchat_concept

otymartin avatar Sep 20 '16 21:09 otymartin

I have no idea how to pull this off 😦

Esqarrouth avatar Sep 27 '16 15:09 Esqarrouth

@goktugyil Do you mean the animation or the functionality itself? I was just hoping for the functionality, the animation I can figure out😂

otymartin avatar Sep 27 '16 17:09 otymartin

So vc no 1 should appear on top of vc no 2?

Esqarrouth avatar Sep 27 '16 17:09 Esqarrouth

@goktugyil I have

let swipeArray = [vc1, vc2, vc3]
// vc3 should appear above vc2

otymartin avatar Sep 27 '16 18:09 otymartin

Maybe make a background vc identical to vc2? and put that behind vc3 too?

Esqarrouth avatar Sep 27 '16 18:09 Esqarrouth

@otymartin Personally, from looking at the design you've provided it appears only the background transfers between the views.

Therefore I'd recommend making a container ViewController with your background view (In this case the video player of the flowers), and then stacking the EZSwipeController's view object on top via a function such as addChildViewController, making sure your SwipeController View Controllers had transparent backgrounds.

JFKingsley avatar Oct 08 '16 22:10 JFKingsley