Member-only story

Dark Theme using Color Assets in iOS (No need for code)

Mr.Javed Multani
3 min readOct 2, 2020

--

Apple launched dark theme from iOS 13. We developers are stuck in colour game, when I see first time dark theme I found couple of the question in my mind. Unlike android it’s damn easy to manage it by colour assets without performing single line of code.Without wasting of the time I’m gonna show you how to apply dark theme in your iOS app. Let’s start it from beginning.

  1. Create a new XCode project but make sure you are using XCode 11(either beta)

2. Open the Storyboard and place one UIVIew and one UILabel.

3. Now open the asset and click on + button from bottom bar. You can see there is option for “New Color Set” select it.

4. After adding the color set you can see that color in your asset list like this:

--

--

Mr.Javed Multani
Mr.Javed Multani

Written by Mr.Javed Multani

Software Engineer | Certified ScrumMaster® (CSM) | UX Researcher | Youtuber | Tech Writer

No responses yet