Skip to content

Instantly share code, notes, and snippets.

@daoseng33
Created March 11, 2019 02:54
Show Gist options
  • Save daoseng33/3480d6ea14f1b8f37335c8d8123fe393 to your computer and use it in GitHub Desktop.
Save daoseng33/3480d6ea14f1b8f37335c8d8123fe393 to your computer and use it in GitHub Desktop.
// 移除上下的間距
textView.textContainerInset = .zero
// 移除左右的間距
textView.textContainer.lineFragmentPadding = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment