In this section, we'll take a look at how to create the TwitterSignInPageRender class for the iOS section of our TrackMyWalks solution, which will essentially contain platform-specific methods relating to the iOS platform. These will communicate with our Twitter API in order to display the Twitter sign in dialog within our TwitterSignInPage XAML ContentPage.
Let's start by creating the TwitterSignInPageRenderer class for our TrackMyWalks app by performing the following steps:
- Ensure that the TrackMyWalks solution is open within the Visual Studio for Mac IDE.
- Next, within the TrackMyWalks.iOS project, right-click on the CustomRenderers folder, and choose Add | New File... from the pop-up menu.
- Then, create a new Empty Class called TwitterSignInPageRenderer within the CustomRenderers folder, as you did in the...