I had a colleague try the same code as above a physical device and it works. So if you have been running on Simulator, I guess your only option is to shell out for an iPhone to test it. 🤷
Topic:
App & System Services
SubTopic:
Core OS
Tags: