cachedScanResults

I have a question about how often does cachedScanResults refresh

Replies

I’m presuming that you’re talking about the

cachedScanResults
property of
CWInterface
in the CoreWLAN framework on macOS. If so, that’s not specified. Scan results are a system-wide concept, and there are various events that can cause the system to run a scan.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

Yes,I am talking about the cacheScanResults property of CWInterface in the CoreWLAN framework on macOS.Can I trigger a system scan when I query cacheScanResult?

Can I trigger a system scan when I query

cacheScanResult
?

Not with any guarantees. You can tell the system that you’d like to scan for networks (see Scanning for networks in the docs) but the system does not guarantee to initial a scan every time you call one of those methods.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"