Does anyone know why the Apple example of Adopting Drag and Drop in a Table View is not working on iPhone?
Steps to Reproduce:
- Download code from https://developer.apple.com/documentation/uikit/drag_and_drop/adopting_drag_and_drop_in_a_table_view
- Open project and change Deployment target -> Devices to Universal.
- Run application on iPhone (simulator).
- Try to drag some cell.
Drag and drop functionality is not working but it should behave the same way as on the iPad devices. Even the function
func tableView(_ tableView: UITableView, itemsForBeginning session: UIDragSession, at indexPath: IndexPath) -> [UIDragItem]
is not called.
Configuration:
- Xcode Version 9.0 (9A235)
- Apple Swift version 4.0 (swiftlang-900.0.63 clang-900.0.37)
- Simulator Version 10.0 (SimulatorApp-829.6 CoreSimulator-494.13.6)