Created
June 13, 2019 09:05
-
-
Save AppleCEO/9384ed5d1e04dc8a01bba66066f99690 to your computer and use it in GitHub Desktop.
50% opacity background
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| attributedString.addAttribute(NSAttributedString.Key.backgroundColor, value: UIColor.black.withAlphaComponent(0.5), range: NSRange(location: 5, length: 4)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment