Tuesday, July 29, 2014

Xamarin Basics iOS -Button Click


Steps
1. You have to add button on UI (xib from xcode)
2.Create outlet for button (In xcode itself)
3.Go to corresponding .cs class (In Xamarin Studio)
4.Write the following code

btnName.Activated+=(Object sender,EventArgs e )=>{
               // You can write the code here,that you want to perform in button click
            };



No comments:

Post a Comment