title: leftbarbuttonitem coming out of frame
body: <p>i have applied a code to add a uibutton to uibarbuttonitem and the problem is that the button is coming out of frame </p>
  
  <p>the code is </p>
  
  <pre><code>        a1 = [UIButton buttonWithType:UIButtonTypeCustom];
      [a1 setFrame:CGRectMake(0.0f, 0.0f, 65.0f, 63.0f)];
      [a1 addTarget:self.slideMenuController action:@selector(toggleMenu) forControlEvents:UIControlEventTouchUpInside];
      [a1 setImage:[UIImage imageNamed:@"menu-enable-bt.png"] forState:UIControlStateNormal];
  
      UIView *view =[[UIView alloc] initWithFrame:CGRectMake(0.0, 0.0, 65.0,63.0) ];
      [view addSubview:a1];
  
      menuButton = [[UIBarButtonItem alloc] initWithCustomView:view];
  
  
      rootViewController.navigationItem.leftBarButtonItem = menuButton;
  </code></pre>
  
  <p>i dont know whats wrong <img src="https://i.stack.imgur.com/lEoYh.png" alt="enter image description here"></p>