I have a UIViewRepresentable
with a UITextView
and I want to set the font on the UITextView
using the current Font
from the SwiftUI environment. I just need a simple init like:
UIFont(_ swiftUIFont: Font)
But I can't find any such thing. And the Font
type doesn't seem to have any information I can use to try to implement one. Anyone know of a way to convert between the two font representations?