I think theoretically with the esp8266 listening in promiscuous mode I should be able to get the iphone to send out some code, that the esp8266 can listen for, but I cant find an ios api that works.
(I have implemented such an architecture on android)
Thanks