How to disconnect the bluetooth in iphone using appium

I can be able to toggle the bluetooth turn on/off using control centre, but its not disconnecting with paired device, how to disconnect this ? Please give your comments on it

with Android you can use adb commands → https://www.reddit.com/r/androiddev/comments/1hsk84f/how_to_unpair_bluetooth_devices_via_adb/

AFAIK Apple provides no API to do this. Try to automate the same UI path a regular user would go through to achieve the same goal manually.

Possibly with iOS you can make shortcut and tap on it during tests.

1 Like

Thanks for your inputs