In BSViewController update to iOS >= 5 for modal view change from parentViewController to presentingViewController.