Changing the cap insets cannot change the rounding of the corners. You need to change the original image (the one that you show second in your question).
What's wrong with my [UIImage resizableImageWithCapInsets:]
-
07-07-2023 - |
Question
I'm trying to get my chat bubble image file to have a more rounded edge. Right now this is what it looks like:
And this is with
resizableImageWithCapInsets:UIEdgeInsetsMake(12, 12, 58, 22)
The image file that I am using looks like this
I've tried a lot of inset values but I can't figure out which one would work. Thanks!
La solution
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow