If you lose connection, you will be automatically logged out of the account. However, any open or pending positions will still remain connected to the server and active on the account.
Where can I download the MetaTrader 4 iPhone app?
How do I log in to my account using the MT4 iPhone app?
How do I place a trade on the MT4 iPhone app?