YouTube channel EverythingApplePro revealed the bug which involves sending a message with three visible characters: a white flag, a zero and a rainbow emoji, as well as an invisible character, called variation sector 16.

The prank also works if the characters are sent embedded in a Contacts file.

However, it doesn’t work on all iPhones, only those running versions 10.0 through 10.1.1 which means to be safe you just need to upgrade your iOS.

EverythingApplePro also revealed another more complicated range of characters that bricks all iPhones, no matter what iOS they’re running.

This is the latest in a series of glitches affecting iPhones.

Late last year, a bug in the form of a corrupted video was crashing iPhones. It was easily fixed by rebooting your iPhone.

In 2015, it was discovered that messages containing certain Arabic characters were causing problems with iPhones.