I know this question has been asked many times, but not recently, and the API has changed, so Google may have fixed some errors. I thought this was possible in two ways.
1st: Using the Bluetooth Low Energy API of Android, and then use Android as the central mode for scanning Bluetooth devices (iPhone). This is similar to what is asked edoardotognoni, which seems to be a few seconds iPhone reject it. I am still reading about this post, and raised the question that he did, but I mentioned this if someone knows that something has changed.
2nd: Usage and WiFi-Direct. I did not find anything about this method, but if you can install two Droids, why not connect the Droid and iPhone. I read about this question.
I also found this example in the GitHub part of the iPhone , Android part . Unfortunately, I am not very good at xcode, so I don’t know exactly what is written in the iPhone part.
edit: In fact, after searching, I already found out that this is possible with BLE, but not with WiFi-Direct, since the iPhone does not support it. Of course, the ability to do this does not mean that it is easy. Despite this, although I have not yet found concrete evidence, because all I saw was theories, xcode that I do not understand, and Android code that seems to work when I tested it, but I did not run it .
Any help would be greatly appreciated, sorry for the long post!