Currently, I am wondering how to display alertview or any custom view as an overlay to display a message to the user using SwiftUI
.
SwiftUI
provided replacement for UIDatepicker
with struct DatePicker
, is there any similar struct
present for UIAlertController
?
If no, then how to display View
or custom view like an alert view.
I went through couple of WWDC videos and some SwiftUI
tutorials but didn't found any view struct
that supports alertview behaviour.