Redeem Now
Read More
Read now

Make your own toast view in Swift


Make your own toast view in Swift

Suppose you want to show the message for some time after that that message will hide automatically. To show ┬áthe message we use UIAlertView, but this is not the best way. So in iOS by default don’t have a predefined toast view. In Toast View you can define the time interval that how much time the toast view will visible on your view. You can define in global class of your project . you can call this :-

GlobalData = Class where your method is define.

message = you want to show in ToastView

view = parent view of your current view i.e. (self.view)

ToastView Method :-


. . .


Add Your Comment

Be the first to comment.

Hire Us!
Brief us about your requirements and we'll get back to you.
Woo! Hooy!
We have just recieved your project brief and our expert will contact you shortly.
Send Again