title: iPhone UIBarButtonItem setCustomView: method?
body: <p>I want to customize my UIBarButtonItem's appearance. Here's the code I'm currently using:</p>
  
  <pre><code>UIButton *button = [[UIButton alloc] initWithFrame:CGRectMake(267, 6, 48, 30)];
  [editButton setCustomView:button];  // editButton is the UIBarButtonItem
  </code></pre>
  
  <p>Unfortunately, the UIButton does not get drawn, i.e. it's 100% transparent.
  I know the button is there because when I add a line to the code, like so:</p>
  
  <pre><code>UIButton *button = [[UIButton alloc] initWithFrame:CGRectMake(267, 6, 48, 30)];
  [editButton setCustomView:button];  // editButton is the UIBarButtonItem
  UIRectFill(button.frame);
  </code></pre>
  
  <p>I see a black square appearing in the position where the button should appear.</p>
  
  <p>How can I get my UIButton to be drawn? I already looked at a ton of places, but nothing seems to work ...</p>