How to communicate ESP8266 through Wifi?

Im using ESP8266 wifiModule , i want to get the list of wifi's near to me in iOS app and to connect that ESP8266 ,afterthat i have to communicate it through Wifi. is it posssible?