To mirror your iPhone's screen to a Mac computer, you can use QuickTime or AirPlay. Here's how to do both.
If your iPhone is showing a black screen that never goes away, you should try resetting it or putting it into recovery mode.