About Action Toast
Action Toast is simple, quick, single line popup notification system for iOS in the style of Toastfor Android. Action Toast implements the same calling structure and styles as Toast for Android to assist in cross platform development.
Need to quickly catch a user’s attention with a single line notification? Action Toast makes it easy. Either create an object of type
ACToast and fill out it’s properties or use the static
MakeText method of the Action Toast class to create a popup. Next call the
Showmethod to display it, just like in Xamarin.Android.
Action Toast can be set to display in multiple locations by setting the gravity property:
- Custom – A user defined location
All locations take the device’s screen rotation into account so they always display correctly.
Multiple Display Lengths
Action Toast can be set to display for a given amount of time by either providing the number of seconds to display or by using a
- Forever – the message will display until the user taps it or it is closed programmatically.
- Short – display for one second.
- Medium – display for two seconds.
- Long – display for five seconds.
Action Toast includes a fully documented API with comments for every feature. Action Toastis available exclusively as part of the Action Component Suite by Appracatappra, LLC.
Here is an example of quickly displaying an Action Toast message:
using ActionComponents; ... // Display message to user ACToast.MakeText("My message", ACToastLength.Long).Show ();
Additionally, you can use one of the
ShowText shortcut methods:
using ActionComponents; ... // Display message to user ACToast.ShowText("Message at Center.", ACToastGravity.Center);
The Trial version of Action Toast is fully functional however the background is watermarked. The fully licensed version removes this watermark.