I am wondering how I can add a switch view on the toolbar.
This what I want to have at the end See picture. The purpose of the switch, as shown in the picture, is to allow the user to indicate whether they are available or busy. Simply put, to change the status. If the status is 'Available', the app will send that status to the server. The same applies when the status is 'busy'.
I tried to search, but I could not find any help.