A few dozen U.S. flights of American Airlines were delayed on Tuesday due to a software glitch in the iPads used by its pilots, the airline said on Twitter.