I implemented the suggested code form the github link you provided. It is working to where I press the dismiss button and it minimizes the view, however there are a few problems that came with this. The first is that when the view minimizes, not only is it minimizing the playerDetailView but it also minimizing the mainTabBar view as-well so it shows a black screen and the tabBar on the bottom becomes an empty view with not TabBar buttons. Also when it minimizes, after a second it maximizes again without me pressing the view manually. I am comparing code and I have set up everything like yours so I'm not sure why I am getting this error.