iOS Question Change all fonts to custom font by tag?

TnP

Member
Licensed User
Longtime User
Hi all,
I'm porting an Android app over to iOS and in the Android app, I use NJDude's CustomFonts Library here: https://www.b4x.com/android/forum/threads/customfonts.85264/#content
Basically, all views that use my custom font have a particular string in their tag.
Is there a way to achieve this in iOS, or must I use the the standard code (below) for every View that requires the font?
B4X:
Label2.Font = Font.CreateNew2("PaperCuts2", 20)

I was thinking a For Each loop looking for the tag, but I'm a bit lost to be honest.

Thanks!
 
Top