Make your own toast view in Swift

Save

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 :-

 

iOS
. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

css.php

We've bought a Shopware Extension which is a hybrid App, which we can now offer in the Google Play Store and the IOS App Store. I'am still impressed how fast and how sharp the support team leads us through every process of the App-Store clarification. Very fast and useful response.

Markus Walter

Markus Walter

Founder, Das Apartment Living

Talk to Sales

Global

Live Chat
Start a Project


    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home