Iowa. R. Crim. P. 2.27
Comment: In Iowa, because of limited resources, not all courthouses screen visitors. It is therefore often possible to enter a courtroom without having gone through a body scanner. Yet persons entering a courtroom should recognize they have a diminished expectation of privacy as to items that would ordinarily be detected in a regular screening. This rule recognizes that the courts may need to act preemptively to protect the security and integrity of criminal proceedings, particularly in enforcing a prohibition on weapons in the courtroom or on the improper use of electronic devices. In exercising this authority, courts should be mindful of the potential for unfair prejudice when such searches are conducted in the presence of the jury.