Transition AVplayer in a modal transition

We are trying to achieve the same effect as in the Facebook application regarding listening to a video in a channel and at the same time switching the same video to viewing mode.

How do you easily move AVplayer from uitableviewcell to a new instance of uiviewcontroller?

+4
source share
1 answer

I achieved this by executing UIViewControllerTransitioningDelegateand using my own animator object that conforms to the protocol UIViewControllerAnimatedTransitioning.

https://github.com/recruit-mp/RMPZoomTransitionAnimator , ( ) UIViewControllers:

, " " " " "playerView", , "to" "from", , , , , "to".

UIView , "" , ..

+3

All Articles