Using Bluetooth, you can connect iPhone to your Mac to sync iTunes wirelessly on both devices. Or you can do this to connect to a personal Hotspot, which lets you share your mobile data connection to the iPhone or iPad (Wi-Fi + Cellular) when you don't have access to a Wi-Fi network.
To connect to the iPhone and Mac, your smartphone and computer must be close together. The closer the better.
On your iPhone:
Open the Settings app, select General, and then select Bluetooth. Select the slider to the On position.
Click the Bluetooth icon in the menu bar at the top right of the screen.
Or you can click the Apple menu at the top left of the screen. Select System Preferences and Bluetooth.
You can see a list of Bluetooth items that you can connect to. Click on the image on the iPhone.
You get a connection request from your smartphone. Select Connect to create the connection.
Note that your Mac and iPhone may require a verification code the first time you try to connect. Follow the instructions and enter the code exactly.
But – and mileage may vary. Sometimes I see that the iMac and iPhone XS Max have trouble "finding" each other.
An advantage of using iPhone and Mac in unison is that you can answer phone calls on your Mac, which I often do when working at home office. Make sure both devices are on the same Wi-Fi network. From Settings on IOS, click Phone, then Wi-Fi calls, and then turn on the Wi-Fi call on this phone switch.
Open FaceTime on your Mac. You may be asked to allow calls from the iPhone. If not, open the FaceTime menu and select Settings. Check the box labeled Call from iPhone.
Your Mac can also handle text messages. Make sure you are logged in to iCloud on both devices, with the correct phone number registered). Then:
Open settings on your iPhone.
Touch Text Message Forwarding.
Turn on the power switch on the Mac you want to receive text messages.
Any new text or multimedia text messages you receive on iPhone will be forwarded to your Mac. You can also reply to these messages on your Mac.