Is there any API available for iOS to scan WiFi networks?

I am using the CoreBlutooth framework to scan & connect to ble device do we have any framework/API from which I can scan for wifi devices and connect to it?