CNContactViewController message label truncated

Originator:futuretap
Number:rdar://28434414 Date Originated:22-Sep-2016 11:22 PM
Status:Duplicate/27460990/Closed Resolved:
Product:iOS Product Version:10.0.1
Classification:UI/Usability Reproducible:Always
 
Summary:
The message label of a CNContactViewController is displayed in a quite large font and is truncated to one line. This is a step back from ABPerson/UnknownViewController where the label was displayed in a smaller font and multiple lines (at least initially, see rdar://28434218).

When the content is scrolled upwards, the font size is decreased revealing more of the truncated text. This looks ugly.

Steps to Reproduce:
Run the attached sample project and hit the "New Contact" button.

Expected Results:
The message property should be displayed in a reasonably small font with multiple lines and the font size decreased on scrolling.

Actual Results:
The message property is displayed in a quite large font and is truncated to one line.

Note:
Start the app again (important!) and tap "New Contact (legacy)" instead to compare with ABUnknownViewController's layout.

Comments

Update

The described behavior only occurs if the new contact has no name assigned. If a name is assigned it behaves like ABUnknownPersonViewController (because the latter uses CNCVC under the hood). That's why CNCVC also suffers from the bug described in rdar://28434218 (message label truncated inconsistently).


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!