Skip to content

A category for UIImageView with support for cornerRadius automatically

Notifications You must be signed in to change notification settings

panghaijiao/HJCornerRadius

Repository files navigation

HJCornerRadius

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;

Note

make sure

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.

Podfile

pod 'HJCornerRadius', :git => 'https://github.com/panghaijiao/HJCornerRadius.git'

License:

HJCornerRadius is released under the MIT license. See LICENSE for details.

Sponsor

GitHub

About

A category for UIImageView with support for cornerRadius automatically

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published