title: Create Scrolling UIToolbar
body: <p>Is it possible to create a scrolling <code>UIToolbar</code> for an iOS device in Xcode?
  I am using Xcode version 4.5 beta.</p>
  
  <h1><strong>ViewController.m ⬇</strong></h1>
  
  <pre><code>- (void)viewDidLoad
  {
  [super viewDidLoad];
  // Do any additional setup after loading the view, typically from a nib.
  myScrollView.contentSize = CGSizeMake(myToolBar.frame.size.width, myToolBar.frame.size.height);
  }
  </code></pre>
  
  <h1><strong>ViewController.h ⬇</strong></h1>
  
  <pre><code>#import &lt;UIKit/UIKit.h&gt;
  
  @interface ViewController : UIViewController
  {
  
  IBOutlet UIScrollView *myScrollView;
  IBOutlet UIToolbar *myToolBar;
  IBOutlet UIBarButtonItem *toolbarItem;
  }
  
  @property (strong, nonatomic) UIWindow *window;
  
  
  @end
  </code></pre>
  
  <h1><strong>Not Working :(</strong></h1>