Trump changed his stance on TikTok after the app significantly boosted his prospects among young voters during his presidential campaign for the White House.