To take a normal screenshot on a Mac computer, press Shift + Cmd + 4 on your keyboard. When the cursor changes, you can select the area of the screen to be captured.
To directly capture the iPhone simulator screen, press Ctrl + Cmd + c on your keyboard. Open Preview (or any similar application) and select the option “New from Clipboard”.