<!--
{
  "documentType" : "article",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/animation-and-haptics",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Animation and haptics"
}
-->

# Animation and haptics

Provide feedback to users using view-based animations and haptics.

## Topics

### Content animations

[Property-based animations](/documentation/UIKit/property-based-animations)

Create animations by changing the properties of a view.

[View controller transitions](/documentation/UIKit/view-controller-transitions)

Define custom transitions from one view controller to another.

  <doc://com.apple.documentation/documentation/SwiftUI/Unifying-your-app-s-animations>

  <doc://com.apple.documentation/documentation/QuartzCore/optimizing-iphone-and-ipad-apps-to-support-promotion-displays>

### Physics-based animations

[UIKit Dynamics](/documentation/UIKit/uikit-dynamics)

Apply physics-based animations to your views.

### Parallax effects

[Motion effects](/documentation/UIKit/motion-effects)

Add subtle motion to views to provide a 3D appearance.

### Haptic feedback

  <doc://com.apple.documentation/documentation/ApplePencil/playing-haptic-feedback-in-your-app>

[`UIFeedbackGenerator`](/documentation/UIKit/UIFeedbackGenerator)

The abstract superclass for all feedback generators.

[`UIImpactFeedbackGenerator`](/documentation/UIKit/UIImpactFeedbackGenerator)

A concrete feedback generator subclass that creates haptics to simulate physical impacts.

[`UINotificationFeedbackGenerator`](/documentation/UIKit/UINotificationFeedbackGenerator)

A concrete feedback generator subclass that creates haptics to communicate successes, failures, and warnings.

[`UISelectionFeedbackGenerator`](/documentation/UIKit/UISelectionFeedbackGenerator)

A concrete feedback generator subclass that creates haptics to indicate a change in selection.

[`UICanvasFeedbackGenerator`](/documentation/UIKit/UICanvasFeedbackGenerator)

A concrete feedback generator subclass that creates haptics to indicate events on a drawing canvas.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)