Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get the default system color in iOS?

I'm currently building an iOS app using Swift, and I just wanna get the light gray-ish default system color used in the tabBar and the navigationbar, and apply that color to another button.

I've looked through various sites but I can't find it anywhere that has the exact property name. Is there any way to get the property name or the RGB of it?

I'd appreciate for your help.

like image 749
taikichi Avatar asked Sep 15 '25 14:09

taikichi


1 Answers

probably systemGray is what you want

like image 50
Bartosz Jarosz Avatar answered Sep 18 '25 09:09

Bartosz Jarosz