简体   繁体   中英

Xcode: Custom fonts are not supported in glance or notification interfaces

Despite the fact that I can set a custom font to a label from Interface Builder and the label even appears with that font when I launch the app on the Apple Watch simulator, Xcode constantly warns me that

Custom fonts are not supported in glance or notification interfaces

Is it just another glitch of Xcode 6.3 or I should not use custom fonts on glances and notification interfaces?

For others who might be interested: there is a bug/known issue with IB on XCode 3.x with non-standard fonts and Interface Builder. Custom fonts generally need to be set programatically (via [UIFont fontWithName...)

It's not a glitch. Custom fonts are genuinely not supported anywhere except your main WatchKit app.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM