Created
October 24, 2016 07:07
-
-
Save guntidheerajkumar/8f4ca285dd9c27f2b7b88cabf01cee35 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
///Showing UIView Animation Slide from Bottom. | |
var sampleView = new UIView(new CGRect(0, this.View.Bounds.Height, this.View.Bounds.Width, 0)); | |
sampleView.BackgroundColor = UIColor.Brown; | |
BtnClick.TouchUpInside += (sender, e) => { | |
UIView.AnimateAsync(0.55f, () => { | |
sampleView.Frame = new CGRect(0, this.View.Bounds.Height - 150, this.View.Bounds.Width, 150); | |
this.View.AddSubview(sampleView); | |
}); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment