title: How to disable upside-down fliping of UIButton image when it's touched?
body: <p>I seted an image for UIButton for "UIControlStateNormal" and if I press this button the image is shadowed and flips upside down for the time that i hold it.</p>
  
  <p>Shadowing is ok, but how can I disable the fliping, if I dont want to set a custom image fo state "UIControlStateHighlighted" ?
  Thanks for help</p>
  
  <p>My code to making buttons is:</p>
  
  <pre><code>UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
          button.tag=i;
          [button addTarget:self action:@selector(buttonClicked:) forControlEvents:UIControlEventTouchUpInside];
          button.frame = CGRectMake(xakt, yakt, a, b);
  </code></pre>
  
  <p>and after that I set the button image with <code>- (void)setImage:(UIImage *)image forState:(UIControlState)state</code> function. 
  I included 2 images, first in normal state, the second in pressed state</p>
  
  <p><img src="https://i.stack.imgur.com/74SDq.png" alt="Normal state"><img src="https://i.stack.imgur.com/YmzPr.png" alt="pressed state"></p>