title: #if TARGET_OS_IPHONE with iPhone and iPad
body: <p>i have a problem, i want add different import file for iPhone and iPad, but for iPad doesnt' work, this is how i do:</p>
  
  <pre><code>#if TARGET_OS_IPHONE
  #import "MyView_iPhone.h"
  #elif TARGET_OS_IPAD
  #import "MyView_iPad.h"
  #endif
  </code></pre>
  
  <p>when in the code then i write for example:</p>
  
  <pre><code>MyView_iPhone *iphone = [MyView_iPhone alloc] init];
  </code></pre>
  
  <p>works, but:</p>
  
  <pre><code>MyView_iPad *iphone = [MyView_iPad alloc] init];
  </code></pre>
  
  <p>doens't work, give me an error, because doens't see the MyView_iPad.h, how i can do?</p>
  
  <p>this is the error:</p>
  
  <p>Unknown receiver 'MyView_iPad'; did you mean 'MyView_iPhone'?</p>