Skip to content

Instantly share code, notes, and snippets.

@danie7k
Created February 14, 2018 14:37
Show Gist options
  • Save danie7k/b8af96361e1bac6202e8f53843f1fcaf to your computer and use it in GitHub Desktop.
Save danie7k/b8af96361e1bac6202e8f53843f1fcaf to your computer and use it in GitHub Desktop.
Text around image
UIBezierPath * imgRect = [UIBezierPath bezierPathWithRect:CGRectMake(0, 0, 100, 100)];
self.textView.textContainer.exclusionPaths = @[imgRect];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment