EDIT: calling the register() function within UIApplicationDelegate.application(_:didFinishLaunchingWithOptions:) works, too. Apparently, I forgot to actually call it in my UIKit-based demo app and I thought I did (was too sleepy to notice), which led me to believe that it does not work in UIKit. Calling the Swift package's register() function after app launch works, even without adding the font files in the app bundle and in the Info.plist file.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: