title: Cannot add bar button to UIToolBar
body: <p>I want to create a static footer in my application. i used UIToolbar. Now i want to add some buttons with custom photos to it. the toolbar works fine but it does not show the buttons.</p>
  
  <p>Here is the code i used to add the buttons:</p>
  
  <pre><code>UIImage *facebookImage=[[UIImage alloc]initWithContentsOfFile:@"facebook.png"];
  UIImage *twitterImage=[[UIImage alloc]initWithContentsOfFile:@"twitter.png"];
  UIImage *messageImage=[[UIImage alloc]initWithContentsOfFile:@"message.png"];
  UIImage *emailImage=[[UIImage alloc]initWithContentsOfFile:@"email.png"];
  
  
  UIBarButtonItem *facebook=[[UIBarButtonItem alloc]initWithImage:facebookImage style:UIBarButtonItemStyleBordered target:Nil action:Nil];
  UIBarButtonItem *twitter=[[UIBarButtonItem alloc]initWithImage:twitterImage style:UIBarButtonItemStylePlain target:Nil action:Nil];
  UIBarButtonItem *message=[[UIBarButtonItem alloc]initWithImage:messageImage style:UIBarButtonItemStylePlain target:Nil action:Nil];
  UIBarButtonItem *email=[[UIBarButtonItem alloc]initWithImage:emailImage style:UIBarButtonItemStylePlain target:Nil action:Nil];
  
  NSArray *toolbarButtons = [NSArray arrayWithObjects: facebook, twitter,email,message, nil];
  [Footer setItems:toolbarButtons];
  </code></pre>