Skip to content

Latest commit

 

History

History
26 lines (14 loc) · 949 Bytes

README.md

File metadata and controls

26 lines (14 loc) · 949 Bytes

SIAlertView.Xamarin

SIAlertView.Xamarin is a C#/Mono Xamarin.iOS port of Sumi Interactive's SIAlertView for native iOS. It's basically a hand-rolled UIAlertView.

A couple of the transition effects are not yet working. I'm hoping to have that fixed soon.

I also need to ensure that the action delegates on the button clicks are working optimally.

Feel free to fix any problems and issue a pull request! Thanks!

Usage

SIAlertView alertView = new SIAlertView("SIAlertView", "Sumi Interactive");

alertView.AddButton("Button1", SIAlertViewButtonType.Default, () => { Log("Button1 clicked!"); });

alertView.AddButton("Button2", SIAlertViewButtonType.Default, () => { Log("Button2 clicked!"); });

alertView.AddButton("Button3", SIAlertViewButtonType.Default, () => { Log("Button3 clicked!"); });

alertView.TransitionStyle = SIAlertViewTransitionStyle.Fade;

alertView.Show();