iMessage Apps: Presented view controllers do not have the correct layout anchors

Originator:brendan
Number:rdar://28070557 Date Originated:30-Aug-2016 01:18 AM
Status:Duplicate Resolved:02-Sep-2016 10:58 AM
Product:iOS Product Version:iOS 10 Beta 8: 14A5346A
Classification:Serious Bug Reproducible:Always
 
Area:
Messages

Summary:
If you present another view controller outside of the initial MessageViewController hierarchy (eg by modal segue), the layout anchors are wrong and it leads to content getting cut off or not scrolling properly.

Steps to Reproduce:
1. Create a new message app
2. Present the standard UIImagePickerController modally in viewDidLoad
3. Expand the message app window

Expected Results:
The UIImagePickerController is correctly displayed

Actual Results:
The top is cut off because it does not have the correct layout anchors

Version:
iOS 10 Beta 6: 14A5339a, iOS 10 Beta 8: 14A5346A

Notes:
I have attached a demo project which always reproduces the problem.

Configuration:
iOS Simulator 14A5339a, iPhone 6S Plus

Attachments:
'MSScrollBug.zip', 'Simulator Screen Shot Aug 29, 2016, 1.39.17 PM.png' and 'Simulator Screen Shot Aug 29, 2016, 1.39.15 PM.png' were successfully uploaded.

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!