Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

joaogfmoreira

macrumors newbie
Original poster
Feb 24, 2015
24
0
Hello all!

So I was trying to implement a new method in my app (see attachment). I want "Page 1 View" to be the default one, showing some kind of content. Then, when i click "PAGE 2" in the bottom, it will slide up and bring page 2 (Page 2 View) along. If i want to go back to Page 1 View, a new item will appear, which allows us to do the exact same motion, but sliding down.

So, summarizing, i want to create the sliding up and down idea and the mini arrows indicate the movement direction. Click "PAGE 2" and the slider goes up and brings Page 2 View and vice-versa.

Thank you
 

Attachments

  • Photo 25-03-15, 13 58 54.jpg
    Photo 25-03-15, 13 58 54.jpg
    1.9 MB · Views: 94
Doesn't the default "present modal view" pretty much do what you're asking?

It covers the slide up and down function, yes, but I want to implement those sections containing "PAGE 1" and "PAGE 2" that slide along with the view controllers. To be exactly the same as my drawing.
 
It covers the slide up and down function, yes, but I want to implement those sections containing "PAGE 1" and "PAGE 2" that slide along with the view controllers. To be exactly the same as my drawing.

Ah, I see. Yeah, you could get the "PAGE 2" in the modal view, but it wouldn't push the "PAGE 1" out of the way. Interesting. Let us know what you figure out or if you need help with some of the details.
 
Ah, I see. Yeah, you could get the "PAGE 2" in the modal view, but it wouldn't push the "PAGE 1" out of the way. Interesting. Let us know what you figure out or if you need help with some of the details.

It will be quite a challenge! I'll keep you updated, thanks!
 
Also might want to check out container view controllers. Might get you where you want to go. I've used it to do custom transitions and non standard navigation instead of a navigation controller.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.