We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 86b972e + 1fffdb9 commit 7e074e4Copy full SHA for 7e074e4
1 file changed
README.md
@@ -43,6 +43,11 @@ You can also adjust the animation duration of your state transitions:
43
button.controlStateAnimationDuration = 0.1;
44
```
45
46
+On top of that, you can change the timing function used when animating control state changes:
47
+```objc
48
+button.controlStateAnimationTimingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionLinear];
49
+```
50
+
51
Or, you can disable animations all together:
52
```objc
53
button.animateControlStateChanges = NO;
0 commit comments