Suggested approach: If you’re using UIKit then you’d use the cornerRadius property of your view’s layer – something like myView.layer.cornerRadius = 10 ought to be enough to start. If you’re using SwiftUI, then the cornerRadius() modifier is your friend.
Estimated difficulty: Easy
See the full list of iOS interview questions