In this section, we will take a look at how we can add our final button to our View Controller in our Storyboard, which will complete the construction of our user interface for our Sliding Tiles Game. We will also be modifying properties for this control, applying Layout attributes, and specifying Control Events and Target/Action Events.
Let's start by adding a Button object to our View Controller, performing the following steps:
- Ensure the SlidingTiles solution is currently open in the Visual Studio for Mac IDE.
- Then, from the Toolbox Library, drag a Button control onto the View Controller.
- Next, resize the Button control so that it fills the width of the View Controller ...