In order to display the friends list, we need to start by adding a new button to the Facebook UI. Open Storyboard and select the Facebook scene. Holding the Ctrl keyboard button, drag-and-drop a button from the Object Library and place it underneath the e-mail label. Set the label text, for example Friends, for the new button. Deselect the option Enabled by navigating to Utilities Panel | Attribute Inspector.
The screenshots 1 to 5 show the Attribute Inspector with the Enabled option not checked.
The Friends button will trigger the code that will create an instance of
FBFriendPickerViewController only if the user is already logged ...