I've a viewController that is presented inside a UIView
as I'm using CarbonKit to make tabs like android.
I've a userProfileViewController
which I'm showing under one of the tabs and this has the UIImageView
which I'm making trying to show in a circle by using this code:
self.userDisplayPic.layer.cornerRadius = self.userDisplayPic.frame.size.width / 2;
self.userDisplayPic.clipsToBounds = true
My guess is that it may be because of the autoresizing when presented inside a UIView
might be compressing the design but other elements specially the update button seems fine. SO any suggestions how this can be fixed?