Xamarin.Toast 4.0.2

dotnet add package Xamarin.Toast --version 4.0.2
NuGet\Install-Package Xamarin.Toast -Version 4.0.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Xamarin.Toast" Version="4.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Xamarin.Toast --version 4.0.2
#r "nuget: Xamarin.Toast, 4.0.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Xamarin.Toast as a Cake Addin
#addin nuget:?package=Xamarin.Toast&version=4.0.2

// Install Xamarin.Toast as a Cake Tool
#tool nuget:?package=Xamarin.Toast&version=4.0.2

Toast for Xamarin.iOS

NuGet version

Net 7.0 for iOS is supported (Xcode 15, iOS 17)

Xamarin.iOS Binding Library for Toast

Native Objective-C library: https://github.com/scalessec/Toast

Screenshots

Toast Screenshots

Sample

using Xamarin.Toast;
// basic usage
View.MakeToast("This is a piece of toast.");

// toast with a specific duration and position
View.MakeToast("This is a piece of toast with a specific duration and position", 
                    3f,
                    ToastConstants.CSToastPositionTop);
// toast with all possible options
View.MakeToast("This is a piece of toast with a title & image",
                    3f,
                    NSValue.FromCGPoint(new CGPoint(110, 110)),
                    "Toast Title",
                    UIImage.FromBundle("toast.png"),
                    null,
                    (bool didTap) => System.Diagnostics.Debug.WriteLine($"Did tap: {didTap}"));

// display toast with an activity spinner
View.MakeToastActivity(ToastConstants.CSToastPositionCenter);

// display any view as toast
View.ShowToast(customView);

Nuget

https://www.nuget.org/packages/Xamarin.Toast

dotnet add package Xamarin.Toast

Product Compatible and additional computed target framework versions.
.NET net7.0-ios16.1 is compatible.  net8.0-ios was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net7.0-ios16.1

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.0.2 423 9/25/2023
4.0.1 112 9/25/2023
4.0.0 22,512 9/1/2018

Toast binding for Net 7.0 iOS