Skip to content

Instantly share code, notes, and snippets.

@dejanskledar
Created October 16, 2017 13:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dejanskledar/239c4ac7cd0f3aac474bad2404b15f33 to your computer and use it in GitHub Desktop.
Save dejanskledar/239c4ac7cd0f3aac474bad2404b15f33 to your computer and use it in GitHub Desktop.
guard let tabItems = tabBar.items else { return }
tabItems[0].titlePositionAdjustment = UIOffset(horizontal: -15, vertical: 0)
tabItems[1].titlePositionAdjustment = UIOffset(horizontal: 15, vertical: 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment