DEV Community

Pavnesh Kumar
Pavnesh Kumar

Posted on

Answer: How to create a toast message in Swift?

Quick & Simple Answer

To display a toast message in Swift using your SwiftToast utility, just call:

SwiftToast.show(message: "Your message here")

CopyEdit

SwiftToast.show(message: "Your message here")

You can also customize it with toast types and positions—like .error, .success, .warning, .info, and .top, .center

Top comments (0)