Dragging image with link in attributed string crashes

Originator:stefan.gugarel
Number:rdar://33588197 Date Originated:07/28/2017
Status:Open Resolved:
Product:iOS + SDK Product Version:11 Beta 4
Classification:Crash Reproducible:Always
 
Area:
UIKit

Summary:
I created an image TextAttachment assign it to an AttributedString. Then I'm adding a link and showing this in a UITextView. When I  try to drag the image the app crashes.

Steps to Reproduce:
1. Run Sample App
2. Drag Image
3. Crash

Expected Results:
No crash

Observed Results:
Crash

Version:
iOS 11 beta 4

Notes:


Configuration:

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!