So, I've tested the following code on my iPad:
wait()
local UserInputService = game:GetService("UserInputService")
UserInputService.ModalEnabled = true
For some reason this does not work, (yes it is a local script in startergui) I got this information from the Roblox Developer Forum (apparently true removes it? i've tested both.). Why does this happen? All help is appreciated?

5 comments
try hiding touchGui then
then?
Its kind of just game.Players.LocalPlayer:WaitForChild("PlayerGui").TouchGui.Visible = false
destroying it worked!
First time solving an issue in comments