I definitely prefer to steam my corn in the cob in the instant pot. Not only is it quicker to cook, but steaming actually helps retain more of the nutritional value of the corn. When you boil corn, a good chunk of the nutrients end up in the water, which you discard.