i need you help because i am new in swift development. i have developed an app using swift ui which shows list of ble, and i can with the ble device but user need to key in the password, is it visiable to do automatic paring and parsing pin from coding without any user interaction.
Best Regards,
You can connect without user interaction, but if you want to create a secure connection - meaning pairing - this will need user interaction to confirm that the device you are trying to pair to is indeed OK to pair.
While there are some nuances about pairing depending on the requirements from both devices, in most cases a PIN will be required.
For authenticated pairings, although there is a method called Out-Of-Band (OOB) which lets devices to exchange keys without entering a PIN, OOB is not supported in iOS.
Even then, the pairing would have needed some sort of user action, rather than pairing automatically and invisibly.
Argun Tekant / DTS Engineer / Core Technologies