Use:
#import <QuartzCore/QuartzCore.h>
.......
[myView.layer removeAllAnimations];
More Related Contents:
- UIView animateWithDuration doesn’t animate cornerRadius variation
- Test whether a UIView is in the middle of animation
- How do I apply a perspective transform to a UIView?
- UIView Infinite 360 degree rotation animation?
- UIButton can’t be touched while animated with UIView animateWithDuration
- How to animate the background color of a UILabel?
- How to load GIF image in Swift?
- Changing back button in iOS 7 disables swipe to navigate back
- Draw segments from a circle or donut
- How to animate the textColor property of an UILabel?
- How do you achieve a “clock wipe”/ radial wipe effect in iOS?
- Core animation progress callback
- iPhone “slide to unlock” animation
- UIView Hide/Show with animation
- UIView shake animation
- Restoring animation where it left off when app resumes from background
- How to rotate image in Swift?
- UIView vertical flip animation
- How is the relation between UIView’s clipsToBounds and CALayer’s masksToBounds?
- iOS Segue – Left to Right –
- When exactly do implicit animations take place in iOS?
- Using CABasicAnimation to rotate a UIImageView more than once
- UICollectionView flowLayout not wrapping cells correctly
- SwiftUI List color background
- Enterprise In-House App distribution
- malloc: *** error: incorrect checksum for freed object – object was probably modified after being freed
- Attempt to insert non-property list object when trying to save a custom object in Swift 3
- iphone image captured from camera rotate -90 degree automatically
- iOS SecKeyRef to NSData
- Swift – Checking unmanaged address book single value property for nil