Just tap and hold the message you want to unsend and select Undo send button from drop down menu to unsend a message on iPhone.