You can connect a PS4 controller to your iPhone through the phone's Bluetooth menu, but you'll need to put the controller into "pairing mode" first.
You can connect your PlayStation 4 controller to your PC using a micro-USB cable or wirelessly via Bluetooth.
Here's your one-stop article to know the best settings for Battlefield 6's retail version when it comes to controls, graphics ...