Hi, I have a UIimageView with a PNG image with round corners, the image is clearly visible, the only problem is that I see UIImage Corners on a white background, how can I make the background transparent and transparent.
Try the following:
imageView.backgroundColor = [UIColor clearColor]; imageView.opaque = NO;
You can achieve the same in IB by setting the Background to a color with 0% opacity and unchecking the Opaque box.
try
imageView.backgroundColor = [UIColor clearColor];
Source: https://habr.com/ru/post/1741541/More articles:Does C ++ complex memory persist? - c ++Good error warningIs it better to pass class data internally or directly? - scopeWhy in my rays of the sphere are there dark lines when illuminated by several light sources? - objective-cThe easiest way to find the right kademlia bucket - language-agnosticКаков наилучший способ запустить цикл регрессий в R? - rFacebook Share does not display title / description meta tags that change after page loading - facebookUsing git as a backend storage system - gitRAILS plugin delegate_belongs_to - pluginshook_user не вызывается для операции входа в систему - drupalAll Articles