I am using a MPMoviePlayer to display a video. I go into full screen and when the done button is clicked I want it to remove of the entire movie player from my view.
Right Now When I click The Done Button It Dismiss The MPMoviePlayer But It change The size Of My UIView Height. Is there any solution To remove MPMoviePlayer without affecting my View Size.
Create a videoPlayer view controller (MPMoviePlayerViewController subclass) and add it to your root view controller.
then add notifications:
then your method that gets called when the notification is received.