I need to present a child UIViewController
over a parent controller 90% to the top, allowing you to see the parent behind. Also, user must be able to swipe down the presented controller to dismiss. The parent is in a different storyboard.
Ive tried this, don't have a full working solution. Need to account for parentsNavigation bar
and dragging child viewcontroller down.
[parent addChildViewController:child];
[child.view setFrame:CGRectMake(0, 0, [UIScreen mainScreen].bounds.size.width, [UIScreen mainScreen].bounds.size.height)];
[parent.view addSubview:child.view];
[child didMoveToParentViewController:parent];
How can I achieve this UX? Thanks