The `self.presentingViewController` is supposed to be `viewController.presentingViewController` as well.

Update the PR and it'll be good to merge. Thanks!