Skip to content

Instantly share code, notes, and snippets.

@anknetau anknetau/gist.m
Created Feb 3, 2016

Embed
What would you like to do?
Remove a child view controller
UIViewController *vc = self.childViewControllers[3]; // or whatever
[vc willMoveToParentViewController:nil];
[vc.view removeFromSuperview];
[vc removeFromParentViewController];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.