title: My UINavigationitem's TitleView getting expanded in ios 6
body: <p>In my app I have applied an image on uinavigation item. It is running fine in iOS 5 but getting expanded on iOS 6. I have no left or right bar button item in navigation bar. I searched too much but couldn't find answer.</p>
  <p>Here is my code:</p>
  <pre><code>UIImageView *navigationImage=[[UIImageView alloc]initWithFrame:CGRectMake(0, 0, 98, 34)];
  navigationImage.image=[UIImage imageNamed:@&quot;topNav-logo.png&quot;];
  self.navigationItem.titleView=navigationImage;
  </code></pre>
  <p>and image shows like this:</p>
  <p><a href="https://i.stack.imgur.com/bFM38.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bFM38.png" alt="screenshot" /></a></p>
  <p>It should be displayed like lower image but it is displayed like expanded in iOS 6 it works good in iOS 5.</p>
  <p>The result is:</p>
  <p><a href="https://i.stack.imgur.com/xGtCz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xGtCz.png" alt="result screenshot" /></a></p>