Home » IOS » Use Rounded Image VIew in IOS App
IOS

Use Rounded Image VIew in IOS App

We can use Rounded Image in IOS Application.

Step 1 : Create an Image View either using the Interface builder or by code
Note that the width and height should be same.

Now we are creating it by code

here in CGRectMake(10, 10, 100, 100) first two parameters defines x and y co-ordinate to position the image, then the 3rd and 4th parameter is the width and height.

Step 2 : Now apply radius for the image view

Put the raduis value to half of the width/height.

Step 3 : Clean your xcode project and Run… You can see now the rounded image… Done…

About the author

Vipin

Hi, i am Vipin, a programmer working in Dubai, UAE. I love blogging, and so started TechRounder for sharing my findings and other digital informations with others too. Please feel free to share your feedback with me in the comment section below or you can email me at vipin@techrounder.com.

Add Comment

Click here to post a comment

Your email address will not be published. Required fields are marked *

Get latest updates
in your inbox

Subscribe to TechRounder mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.