Upvote:2

Aprove answer

Adding comment as answer.

My only suggestion would be in the setUpCustomViews function to add in an if(!self.listFlipView) and if(!self.detailFlipView) to the view creation. That function may be being called multiple times and thereby adding multiple views to your window without removing the previous one.


Credit Goes to: stackoverflow.com

Related question with same questions but different answers