I have a UIViewController with the Black Background where it would be my main UIViewController (where the menu is and etc) and I do this:
CredenciaisViewController *obj = [self.storyboard instantiateViewControllerWithIdentifier:@"Credencial"];
[_viewContainer addSubview:obj.view];
_viewContainer.alpha = 1;
The CredentialsViewController has the red background and I load it into a UIView that is in my main UIViewController, but when it loads inside the view it gets half white and the UiButtons when they are on the white do not work.
Why does this happen? And how do I resolve?