Awesome
#Xamarin.STPopup# ##Overview## Xamarin.iOS binding library for STPopup
##How to get it it##
- Nuget: here
- Manual build: Download this repo
##How to use it## In presenting View Controller:
STPopupController popupController = new STPopupController(
new PopupViewController(new CGSize(View.Bounds.Width - 40,
View.Bounds.Height - 120)));
popupController.ContainerView.Layer.CornerRadius = 4f;
popupController.BackgroundView.AddGestureRecognizer(new UITapGestureRecognizer((obj) => popupController.Dismiss()));
popupController.PresentInViewController(this);
In presented View Controller:
public PopupViewController(CGSize size)
{
Title = "STPopup";
this.SetContentSizeInPopup(size);
}
Full demo can be seen in the sample project.
I also talk about the package on my blog
##Issues##
- Create an issue
- Create a PR
Enjoy!