I've got a SwiftUI project where I'm displaying a local HTML file in a WebView. I'm using a CSS document that lives in the same folder as the HTML page. I would like to use a custom font that I've installed in my Xcode project but don't know what I should put in the CSS file for a source path to that font. Anyone have any ideas?
Xcode, CSS, fonts, SwiftUI, confusion
Figured it out. I'm just looking up the correct paths at runtime and modifying the CSS file each time.