title: Image not showing on iPad
body: <p>I have created an iOS APP for iPad and my application is using XIB.
  On XIB I have put a <code>UIImageView</code> and <code>UIButtonview</code> and set the image on both of them.
  The image is showing on XIB but when I am testing it on simulator then both of these views is not showing.
  I have checked hidden and alpha of both views.</p>
  
  <p>I have debugged my source code and found that it may be because of Alpha. You can see the attached screenshot. I have not written any source code in my .m file, simply load the viewcontroller from xib But still it's Alfa is changing I don't how alfa is changing
  <a href="https://i.stack.imgur.com/m865L.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/m865L.png" alt="enter image description here"></a></p>
  
  <p>In my project ,I am also using following source code</p>
  
  <pre><code>/***** MyView.h************/
  
  @interface UIImageView (MyView)
  
  - (void) setAlpha:(float)alpha ;
  
  @end
  
  /***** MyView.M************/
  
  @implementation UIImageView (MyView)
  
  - (void) setAlpha:(float)alpha 
  
   //here alpha value is always zero but under xib it's value is 1
   //I Don't know why here I am getting zero
  
  {
  
      [super setAlpha:alpha];
  
  }
  
  @end
  </code></pre>
  
  <p>I don't know why it is happening, can anyone please help me.</p>