SwiftUI: How to make see more see less style button at the end of Text?

--

--

--

iOS Developer | Swift | Flutter

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Build a 3D Card Scrolling Animation in SwiftUI

iOS 15: 7 Profound A/B Testing Differences To Expect Between App Store & Play Store

Views and Voice Control Accessibility in SwiftUI

smartphone

Neumorphic Button Style in SwiftUI

When you click the button it looks like it’s been pressed.

Modular-8: Move module

Creating an iOS bar chart in code using Swift

Animation&Motion in SwiftUI

Backticks

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Prafulla Singh

Prafulla Singh

iOS Developer | Swift | Flutter

More from Medium

TextField with mask for number phone on SwiftUI

iOS: How SwiftUI and generics helped us build a reliable document upload component

Bees And Bomb Loading Animation Using SwiftUI

Creating a common Navigation AppBar in SwiftUI