H
H
Habitat Horsewithyou2015-11-19 08:01:54
Objective-C
Habitat Horsewithyou, 2015-11-19 08:01:54

Round UIImageView xCode7?

How to make UIImageView round in xcode 7? (and can you elaborate please)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
H
Habitat Horsewithyou, 2015-11-19
@RagdollHorse

I solved it myself thanks)
self.imageView.layer.cornerRadius = self.imageView.frame.size.width / 2;
self.imageView.clipsToBounds = YES;
self.imageView.layer.borderWidth = 1.0f;
self.imageView.layer.borderColor = [UIColor whiteColor].CGColor;

O
one pavel, 2015-11-19
@onepavel

Overlay your image with a white color and a transparent circle in the middle

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question