Crash if datasource returns a nil object in viewDidLoad of MHGalleryImageViewerViewController => [self.pageViewController setViewControllers:@[imageViewController] … will crash.