ModernAlerts.iOS
1.1.2.14
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package ModernAlerts.iOS --version 1.1.2.14
NuGet\Install-Package ModernAlerts.iOS -Version 1.1.2.14
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="ModernAlerts.iOS" Version="1.1.2.14" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ModernAlerts.iOS --version 1.1.2.14
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ModernAlerts.iOS, 1.1.2.14"
#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 ModernAlerts.iOS as a Cake Addin #addin nuget:?package=ModernAlerts.iOS&version=1.1.2.14 // Install ModernAlerts.iOS as a Cake Tool #tool nuget:?package=ModernAlerts.iOS&version=1.1.2.14
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
ModernAlerts for Xamrin Forms
GitHub Sample https://github.com/manikandansai/ModernAlerts/
Android: Download https://www.nuget.org/packages/ModernAlerts.Droid/ Nuget Pacakge in Droid Project
Android Initialization in Main Activity.
ModernAlerts.ModernAlertsHelper.GetInstance().Init(this);
Like below
public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity
{
protected override void OnCreate(Bundle bundle)
{
base.OnCreate(bundle);
global::Xamarin.Forms.Forms.Init(this, bundle);
ModernAlerts.ModernAlertsHelper.GetInstance().Init(this);
LoadApplication(new App());
}
}
iOS: Download https://www.nuget.org/packages/ModernAlerts.iOS/ get Pacakge in iOS Project No Need to initialize for IOS Apps Simple Display Alert:
ModernAlertsHelper.GetInstance().DisplayAlert(Color.Red, Color.White, "Modern Alerts Simple Alert", "Modern Alerts Simple Alert Body", "OK", null, (obj) =>
{
//Logic
});
Simple Get Input Alert:
GetInputConfig getInputConfig = new GetInputConfig();
getInputConfig.BackgroundColor = Color.White;
getInputConfig.keyboard = Keyboard.Telephone;
getInputConfig.MaxLength = 10;
getInputConfig.FontColor = Color.Black;
ModernAlertsHelper.GetInstance().DisplayAlert(Color.Black, Color.White, "Modern Alerts Simple Alert", "Modern Alerts Simple Alert Body", "OK", null, (obj) =>
{
//Logic
}, true, getInputConfig);
Confirmation Alert:
ModernAlertsHelper.GetInstance().DisplayAlert(Color.Red,Color.White, "Modern Alert Confirmation Header","Modern Alert Confirmation Body", "Yes", "No", (obj) =>
{
if (obj == null) return;
//Logic
});
ActionSheet:
string[] numbersarray = new string[] { "1","2","3","4" };
ModernAlertsHelper.GetInstance().ActionSheet(Color.Red,Color.White,"Modern Alerts ActionSheet", numbersarray, "Cancel", (obj) =>
{
if (obj == null || (obj != null && obj == "Cancel")) return;
//Logic
});
Product | Versions Compatible and additional computed target framework versions. |
---|---|
Xamarin.iOS | xamarinios10 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
Xamarin.iOS 1.0
- Xamarin.Forms (>= 2.5.0.280555)
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 |
---|---|---|
1.1.2.31 | 1,250 | 4/14/2018 |
1.1.2.30 | 922 | 4/10/2018 |
1.1.2.29 | 952 | 4/9/2018 |
1.1.2.28 | 968 | 4/8/2018 |
1.1.2.27 | 1,117 | 4/1/2018 |
1.1.2.23 | 1,020 | 3/8/2018 |
1.1.2.22 | 941 | 3/8/2018 |
1.1.2.21 | 836 | 3/7/2018 |
1.1.2.20 | 1,001 | 3/7/2018 |
1.1.2.19 | 912 | 3/7/2018 |
1.1.2.15 | 884 | 2/28/2018 |
1.1.2.14 | 950 | 2/28/2018 |
1.1.2 | 944 | 2/26/2018 |
1.0.0 | 941 | 2/26/2018 |