Fixed an issue with modal controller on iOS6+ #104

merged 1 commit into from Mar 12, 2013


None yet
2 participants

olarivain commented Mar 12, 2013

Hey folks,

This pull request fixes an issue when the SK controller is attempted to be presented on the root view controller, while the root view controller is modally presenting another controller.
The current implementation fails to present the SK since the root view controller already has a modally presented controller.

The fix is fairly simple: iterate through "presentedViewController" when fetching the root view controller, and the same when dismissing it.

fixed issue causing the StoreKit view controller to not be properly p…
…resented when the root view controller is presenting modally

arashpayan added a commit that referenced this pull request Mar 12, 2013

Merge pull request #104 from opentable/modal-fix
Fixed an issue with modal controller on iOS6+

@arashpayan arashpayan merged commit 17f260f into arashpayan:master Mar 12, 2013


This comment has been minimized.

Show comment Hide comment

arashpayan Mar 12, 2013


Thank you. :)


arashpayan commented Mar 12, 2013

Thank you. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment