Truncated Text Effect | Tap to Expand Text View | Text Animations | Text Renderer | SwiftUI

Kavsoft on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

LivestreamIntermediateUIDesign Engineering12 min

About this video

Shows how to build an expandable text view in SwiftUI that truncates text to a set line limit and expands to the full text when tapped, with the text truncation animation.

What you’ll learn

  • Build a SwiftUI text view that truncates to a set line limit
  • Expand truncated text to its full view when tapped
  • Animate the transition between truncated and expanded text