Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (14 sloc) 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();