How to snap back to initial point?
Hi,
I have a draggable UIView on CGPoint(100,100). How can i make it snap back to this point on miss? The line below does not works (it has a strange behavior).
self.dragDropController.snapsDraggablesToDroppableSnapPointOnHit = YES;
That snaps to the droppable's snap point if the draggable is dropped in the drioppable's bounds. You should use: snapsDraggablesBackToDragStartOnMiss
I'm sorry. I was using snapsDraggablesBackToDragStartOnMiss.
Ok no worries. Will look into it on the 23rd May weekend.
I have the same problem. When I use:
[self.dragDropController snapDraggableToStartingLocationFromGesture:gestureRecognizer];
It snaps the draggable with awkward motion and after a few times, it snaps it out of bounce.