President Donald Trump on July 31 said he will bar the TikTok social media app from operating in the United States.