How to add shadow to UILabel text in swift 4

Published: 24 January 2018
on channel: Swift Tutorials
1,265
11

In this video we are going to learn how to add shadow to UILabel and set offset for the applied shadow programmatically in swift 4.

We are going to learn

1) Add shadow color to UILabel
2) Set offset to shadow layer
3) adjustsFontSizeToFitWidth property of UILabel

Source code: https://goo.gl/SQihQW

Please subscribe to our channel to get future video updates.

If you have any question, please feel free to comment.