This library provides a category for UIImageView with support for cornerRadius automatically
For more details please click here
How To Use
imageview.aliCornerRadius = 5.0f;
imageview.layer.masksToBounds = NO
Installation with CocoaPods
CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries in your projects. See the Get Started section for more details.
pod 'HJCornerRadius', :git => "https://github.com/panghaijiao/HJCornerRadius.git"
HJCornerRadius is released under the MIT license. See LICENSE for details.