Mozilla also notes that if you want to temporarily ... "Remember search and form history," or check the "Always use private browsing mode" box to make sure that no history is ever saved.
Private browsing prevents people who have access to your iPhone from seeing your internet history, because it stops the browser from recording your search and site visit history at all.