UIDropInteractionDelegate performDrop not called?
问题 I am trying to build a simple test app to learn Drag and Drop APIs. For this question I am focusing only on the Drop scenario. I have a blank View Controller, with the safari app open (multitasking) I then try to drag an image from google onto the View Controller's view. I can drag the image from safari to my app's View Controller, but when I let go, this call below is never called: func dropInteraction(_ interaction: UIDropInteraction, performDrop session: UIDropSession) This is my code: