I have to design a situation like above, consider: 1 - The blue viewController is the parent viewController 2 - The green is a modally presented viewController that updates it's size whenever the user clicks on button A, it moves a little up revealing Button B (middle screen), and when the user clicks on button B, it moves further up, revealing button C (last screen)
What have I tried so far? I went through the possibilities of implementing this and the best way I thought of (found here) is to use a custom subclass of UIPresentationController
, using which I am able to present the green viewController as in the first screen. Now I am stuck at moving the green viewController up when button A is clicked, and move it up again when button B is clicked with sliding animation.
Any help is greatly appreciated.