Hello,
I am using the following code to donate interactions:
INImage *image = [INImage imageWithUIImage:avatarImage];
INPerson *person = [[INPerson alloc]
initWithPersonHandle:handle
nameComponents:nil
displayName:title
image:image
contactIdentifier:nil
customIdentifier:nil];
Now I have switched to use SVGs in my assets (so single scale with "preserve vector data" enabled), which is working perfectly fine for UIImageView
or UIButton
. However, it does not work for INImages
created from an SVG-UIImage. It's shows the icon, but it's blurry (so the vector data is not preserved).
Am I missing something here or does INImage
just not support SVGs this way?