Make the View rounded iOS

someImageView.layoutIfNeeded()
someImageView.clipsToBounds = true
someImageView.layer.cornerRadius = 10
[someImageView layoutIfNeeded];
someImageView.clipsToBounds = YES;
someImageView.layer.cornerRadius = 10;
//Swift codetopImageView.layoutIfNeeded()…

--

--

--

iOS Developer, Triple graduated, Passionate, Love workout, blogger

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Polygon (Matic) Wallet User Guide (APP+Extension)

Building Simple Async API Request With Swift 5 Result Type — Alfian Losari

What is @selector() in swift?

Announcement: Patch 1.1.0 notes

UIDatePicker iOS

Deep Link in iOS App by Universal Link

Provisional Push Notifications in Swift

The New Photos Picker In iOS 14 - Part 1

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Mr.Javed Multani

Mr.Javed Multani

iOS Developer, Triple graduated, Passionate, Love workout, blogger

More from Medium

SwiftUI with Coordinator Flow Controllers

MVVM-C Xcode Template to reduce development time

RxSwift Combination Operators: zip, combineLatest & withLatestFrom

apple/swift-evolution 上關於 guard 的有趣討論