It could be interesting to have an application that once launched would analyze the live video or audio of the smartphone and if it detects rhythms or variations (for example a flash that pulses • • • — — — • • • ), the application would translate it into text “SOS”.
The application would also have a writing mode where you could write and it would translate the text into flash pulses or audio sounds.
We could communicate in the night without wifi, without bluetooth and without network ^^
I do not know about video, however for audio there is already GGMorse (play store link) available for both modern smartphone platforms. You can communicate with Morse using UHF as well, but in my opinion it does not work as reliably as standard Morse code.
If you’re curious, you can try talking to your friends with SSTV, but I’m afraid there isn’t a free iOS app AFAIK