title: UIUserInterfaceIdiomPhone is for iPod touch too?
body: <p>Sorry for stupid question, but I have not found a good answer anywhere.</p>
  
  <p>if I check UIUserInterfaceIdiomPhone I get YES for both iPhone and iPod touch?</p>
  
  <p>I mean:</p>
  
  <pre><code>- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
      if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPhone) {
          return (interfaceOrientation == UIInterfaceOrientationPortrait);
      }
      return YES;
  }
  </code></pre>
  
  <p>returns YES for iPad only and portrait for both iPhone and iPod?</p>
  
  <p>I developed an iPhone app, now I'm changing it to universal. It's almost done and I wouldn't like to change all my "if". (i don't have a real iPod touch to test it by myself).</p>
  
  <p>Thanks,
  Max</p>