iOS — Adding Shadow and Rounded Corner to UIView

Serdar Aylanc
1 min readDec 30, 2018

--

The easiest way I found to add rounded corners and shadow to UIView is:

  1. Create an UIView extension

2. Edit the UIView properties from the Attributes Inspector in XCode Storyboard.

This is texted for Swift 4.2 and XCode 10.

--

--