The Obama administration on Saturday vetoed a U.S. trade body's ban on the import and sale of some Apple Inc. iPhones and iPads, a rare move that upends a legal victory for smartphone rival Samsung Electronics Co.

U.S. Trade Representative Michael Froman made the decision to veto the ban on the Apple devices, citing concerns about patent holders...