Update to ios6 compatible on Modalviewcontroller

This commit is contained in:
Pedro Milanez 2013-08-14 11:31:52 -03:00
parent c95d80ffd8
commit e57e6da043

View File

@ -149,8 +149,8 @@
} }
// use topmost modal view // use topmost modal view
while (parentViewController.modalViewController) { while (parentViewController.presentedViewController) {
parentViewController = parentViewController.modalViewController; parentViewController = parentViewController.presentedViewController;
} }
// special addition to get rootViewController from three20 which has it's own controller handling // special addition to get rootViewController from three20 which has it's own controller handling