MSMessagesAppViewController.didSelect(message:conversation:) not called when user selects already selected message

Originator:futuretap
Number:rdar://28158453 Date Originated:05-Sep-2016 09:27 AM
Status:Open Resolved:
Product:App Store Product Version:iOS 10 beta 8
Classification:UI/Usability Reproducible:Always
 
This is a duplicate of rdar://27621637

Summary:
An instance of MSMessagesAppViewController does not call willSelect(message:conversation:) or didSelect(message:conversation:) when a user taps a message that is already selected. This makes it impossible to programmatically detect the difference between a messages app entering expanded presentation style because the user tapped a message or because the user tapped the expand presentation style control.

Steps to Reproduce:
1. Run attached IceCreamBuilder Messages App in debug mode (edited to print to console when .willSelect() and .didSelect() are called).
2. Build a new ice cream.
3. Send new ice cream in a message.
(.willSelect(message:conversation:) and .didSelect(message:conversation:) are both called here with a nil message that crashes if you try to access it, but I filed a separate bug report for that: 27621557)
4. Tap ice cream message.

Expected Results:
.willSelect(message:conversation:) and .didSelect(message:conversation:) should be called and print to console.

Actual Results:
Neither willSelect(message:conversation:) nor .didSelect(message:conversation:) are called.

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!