Is there a way to gather the SSIDs of the connected networks in the background?

27 Views Asked by At

I'm trying to build a Swift application that saves the SSIDs and the time of connection to all networks encountered throughout the day (obviously, networks to which I already have access). The problem is that my application only works in the foreground, and I have no idea how to make it work in the background, if possible. Currently, I'm using NEHotspotNetwork.fetchCurrent().

I've already tried using Background Tasks, but without success.

0

There are 0 best solutions below