If you want to set IMAP for iPhone then here mention some instruction to setting up Gmail IMAP Settings in iPhone: -
Open the settings
Then click on the password and accounts from the settings.
Next, click on the "add account".
Click on the other and then click on the add mail account.
Type your name, email address, password and you add some description. Just enter something. Finally click on the next.
Select the IMAP option and Type the right settings.
Incoming mail settings mention below:-
Host name must be imap.hosis.co.uk
Outgoing mail setting:
Host name is smtp.hosts.co.uk. Lastly click on the save.
Above Gmail IMAP settings for iPhone will help you to set up Gmail IMAP Settings.