-
-
Save anonymous/93242d562263bbf132eb to your computer and use it in GitHub Desktop.
SO Question "UIViewController -dealloc method not called"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UIViewController *myContr = [UIViewController new]; | |
myContr.view.backgroundColor = [UIColor redColor]; | |
//self.view.superview = UIWindow , not a clean solution but works for the sake of this example | |
[self.view.superview addSubview:myContr.view]; | |
[self.view removeFromSuperview]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment