Advertisement
Guest User

Untitled

a guest
Sep 2nd, 2014
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. let fontDict = [NSFontAttributeName: UIFont.systemFontOfSize(34.0)]
  2. editButton.title = "✎"
  3. editButton.setTitleTextAttributes(fontDict, forState: UIControlState.Normal)
  4.  
  5. editButton.setTitlePositionAdjustment(UIOffsetMake(0, -10.0), forBarMetrics: UIBarMetrics.Default)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement