关于ios 无法触发 onPanResponderGrant 的回调
const panResponder = useCreation(
() =>
PanResponder.create({
onStartShouldSetPanResponder: () => true,
onStartShouldSetPanResponderCapture: () => true,
onPanResponderGrant: e => {
handlePress(e);
},
onPanResponderMove: e => {
handlePress(e);
},
onPanResponderRelease: e => {
handlePress(e, true);
indexDep.clear();
},
}),
[]
);
onPanResponderGrant 的回调在 安卓可以触发 在ios 无法触发 该如何处理