Advertisement
Guest User

Untitled

a guest
May 25th, 2015
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. let plusButton = UIBarButtonItem(barButtonSystemItem: UIBarButtonSystemItem.Add, target: nil, action: nil)
  2. var toolbarButtons = [plusButton];
  3.  
  4. let toolbar = UIToolbar()
  5. toolbar.sizeToFit()
  6. toolbar.setItems(toolbarButtons, animated: true)
  7. toolbar.backgroundColor = UIColor.whiteColor()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement