Hi Andrew
Thanks for your answer
Sorry I didn’t explain well.
I didn’t put this code within a loop.
Like you say I simply wrap it in a function and call it to test network availability before critical user actions.
But I noticed that with this call, Xcode console shows this message each second :
WiFi:[419334385.238658]:
Too frequent(3.034801 secs) rssi event from driver
Do you have this message too in your Xcode Organizer Console?
Thanks
Olivier