Swift BLE background mode example for a health device

We have integrated multiple health devices with our app and everything works fine in foreground mode. We have spent a countless number of hours trying to crack the background mode from all the documentation and blog posts without any success. Is there any sample available for a device that I can buy from Amazon and try it out or is there anyone who can review the code to see if we are doing something wrong.


Thank you,

Sarfraz