First upgrade your esp8266 module with modified sdk 1.5.0 switch mode demo firmware on the web link, and iPhone connected the AP.
If you find the esp8266, Apply your wifi ssid.
And restart the esp8266 and app.
This app control the gpio2 switching through wifi.
Demo video link :
https://youtu.be/h6bCxBi_3aA