Embed segue doesn't add destination view controller to child view controllers

Originator:apsharp
Number:rdar://41054411 Date Originated:12-Jun-2018 02:30 pm
Status:Open Resolved:
Product:iOS + SDK Product Version:Xcode 9.3
Classification:Other Bug Reproducible:Always
 
Summary:
When embedding a view controller using the Container View in Interface Builder along with an Embed segue, the destination view controller is never added to the source's childViewControllers array.

Steps to Reproduce:
In a storyboard, create a container view with an embed segue. After the child view controller is embedded, inspect the childViewControllers array.

Expected Results:
Expected the destination view controller to be properly added to the view controller hierarchy.

Actual Results:
The destination view controller is not added to the array.

Version:
Xcode 9.3

Notes:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!