From what I understand of the law, you must produce your carry permit in Iowa when LEO asks for it. But before asking for it, doesn't he have to detain you? If you're not being detained you can ignore him and just keep walking. In order to detain he must have reasonable suspicion of a crime(Terry v Ohio). Carrying a gun, where legal, is not reasonable suspicion of a crime (Deberry v US).