To add, while Obama was told he couldn't have an iPhone[0], Trump apparently had two NSA-secured iPhones in 2018[1], so the basic OS is secure (and likely loaded with MDM, maybe even jailbroken to disable safari JIT or disable safari entirely).
0: https://www.theguardian.com/technology/2013/dec/05/barack-ob...
1: https://web.archive.org/web/20210203152520/https://www.wired...