Fix iPad scanner rotation issues