You can connect your PlayStation 4 controller to your PC using a micro-USB cable or wirelessly via Bluetooth.
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.