MDCSwipeToChoose
MDCSwipeToChoose copied to clipboard
Programmatic mdc_swipe does not play well with dragging
If the image is currently being dragged, and mdc_swipe
is called, the image will either return to the center (if it's on the right side, and it's programmatically swiped left, or vice versa), or be swiped as expected (if it's on the same side as the programmatic swipe). This looks especially messy when a drag is in motion and a swipe is triggered.
Either ignoring mdc_swipe
s when the image is being dragged, or forcing them and ignoring any further dragging, would both be preferable to the current behaviour.
Hi.. i face issue similarly.. the effect of dragging left and right will not getting while we manually place code for drag left and right... i need exact animation which is shown when image is dragged either right or left..how can i achive this...specific on swift
Hi...i found the solution ... You just need to perform two simple steps..
- Change the threshhold value from 100 to 160
- Change the following file with given file named as "UIView+MDCSwipeToChoose.h UIView+MDCSwipeToChoose.m.zip
"