我想在本机动画中使用本机驱动程序, 但是在添加useNativeDriver之后,动画将无法正常工作。
Animated.timing(
this.state.radius,{
duration:1000,
toValue:240,
easing: Easing.out(Easing.ease),
useNativeDriver: true // <-- after adding this, theanimation doesn't work
}
).start();
我做错了吗?