How do I hide the UIViewController at runtime?
what do you really mean?
UIViewController itself is not "visible"... but it is its view (a normal UIView), so just change it's view hidden propery to YES:
yourUIViewController.view.hidden = YES;
If u want to hide the viewcontroller's view try
viewController.view.hidden = YES;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With