Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let plusButton = UIBarButtonItem(barButtonSystemItem: UIBarButtonSystemItem.Add, target: nil, action: nil)
- var toolbarButtons = [plusButton];
- let toolbar = UIToolbar()
- toolbar.sizeToFit()
- toolbar.setItems(toolbarButtons, animated: true)
- toolbar.backgroundColor = UIColor.whiteColor()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement