I am dealing with an issue where I need to set constraints for a subview to the superview. In the parent controller, I am adding the controller and view on a tap gesture (the parent View has already been presented on screen):
var eventDetail = new EventDetailController (); AddChildViewController (eventDetail); View.AddSubview (eventDetail.View);
In the child view controller's ViewWillAppear, I'd like to add AutoLayout constraints between the View and its Superview, but Superview is null at this point, what gives? When is the View's Superview get set? Is this normal behavior?