You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Removed swizzling of UIViewController's present(Modal)ViewController which breaks UIViewController's presentingViewController property and thereby modal unwind segues.
iOS 5+ uses UIViewController's definesPresentationContext property to determine which controller is parent for a modal view controller. That system should handle presentation just fine even without swizzling.
[controller vdc_presentModalViewController:modalViewController animated:animated]; // when we get here, the vdc_ method is actually the old, real method
[controller vdc_presentViewController:viewControllerToPresent animated:animated completion:completion]; // when we get here, the vdc_ method is actually the old, real method
0 commit comments