Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ios custom font with splash screen [duplicate]

Tags:

xcode

ios

I'm using a label to display text with my custom font on LaunchScreen.xib. My custom font shows up fine in the Interface Builder, but when I test it on my iPhone the font reverts back to the default font.

Not sure how to fix this or if it's a bug.

like image 767
user3781632 Avatar asked Nov 17 '22 17:11

user3781632


1 Answers

There's no big surprise here. The launch screen is shown at launch time - actually, before launch time - so the font probably hasn't yet loaded.

You could file a bug if you think you have a compelling use case. But I don't really think you do. Why are you showing any text in your launch image? It should be much more bare-bones than that - just enough to give the structure of the opening interface, which will be filled in when the opening interface actually appears. A "blank" screen with the same background color as the initial view controller's background color would be sufficient. You goal is just to provide an alternative to blackness.

like image 184
matt Avatar answered Dec 24 '22 12:12

matt