India, Feb. 26 -- Apple has responded after a bug in its voice-to-text feature on iPhone caused a mix-up that triggered a row. The company confirmed the glitch, which makes the feature write US President Donald Trump's name when a user says the word 'racist'.

In an emailed statement, Apple said it is currently working on a solution. The glitch went viral as several social media users shared videos pointing out the peculiarity.

According to Apple, the glitch happens because the speech recognition models powering the feature can sometimes display words with phonetic overlap until further analysis from the model can be conducted and the correct word displayed, TweakTown reported.

Apple says the bug has been suggesting "Trump" in replaceme...