To connect PS4 Controller to iPad iPhone just turn on the Bluetooth on your IOS devices and hold the PS4 button and Share button until is connected to your device.
To disconnect PS4 Controller from your device just access on Bluetooth and click on Disconnect