objective c - Rounded views not working in iOS 9 -
i have code takes view , rounds corners - turning circle:
imageview = [[uiimageview alloc] initwithframe:cgrectmake(0, 0, 8, 8)]; imageview.layer.cornerradius = imageview.frame.size.width/2; imageview.layer.maskstobounds = yes;
this works great on ios 7 , ios 8 - doesn't work on ios 9. how can fix it?
turns out adding background color imageview fixes issue...
Comments
Post a Comment