React Native 警告 Animated: `useNativeDriver` is not supported 的解决方案
当出现该报错的时候,是缺少了useNativeDrive参数造成了,并不需要使用xcode、android studio修改文件
before
Animated.spring(state.top, {
toValue: 100,
}).start();
after
Animated.spring(state.top, {
toValue: 100,
useNativeDriver: false
}).start();