I remember asking this question a while back and receiving some beautiful answers, which don’t require drilling down in the view hierarchy.


As I am not investing time into iOS so much, I haven’t checked if the stack overflow solution still works, but if it does, using the iOS appearance proxy is many times better than searching UIViews one by one.

Software Architect, currently @ Vodafone GR. Past: Lead Dev @ Intrasoft Intl, atcom.gr and more. Crafting apps & web services since 2007. https://oramind.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store