I'm trying to implement a functionality similar to that in YouTube app, where you can drag the detail view down and the table view fades in. How can that be accomplished?
The panning is no problem and neither is the resulting floating view over the table view. The big hurdle is to pull the detail view down and reveal the table view.
My only idea right now is to take a snapshot of the table view before the detail view is loaded. Then when the detail view is pulled down, put that snapshot behind and when the transition is completed pop/segue back to the real table view and show the floating view at is place. Then do the same when going back. I hope there is a better/simpler way. What do you think?
/BE
The panning is no problem and neither is the resulting floating view over the table view. The big hurdle is to pull the detail view down and reveal the table view.
My only idea right now is to take a snapshot of the table view before the detail view is loaded. Then when the detail view is pulled down, put that snapshot behind and when the transition is completed pop/segue back to the real table view and show the floating view at is place. Then do the same when going back. I hope there is a better/simpler way. What do you think?
/BE