See this post.
Calling -[UIImage resizableImageWithCapInsets:] with invalid insets makes Core Graphics bombard the log with unhelpful error messages.