As you possibly can see on the picture under not all over the place my customized font is utilized:
Solely the highest proper is utilized appropriately. Not the others. That is screenshot from iPad Mini, iPadOS 16.3.1.
Plainly all the things is finished appropriately.
That is my Font extension:
import SwiftUI
extension Font {
static func openSansLight(withSize measurement: CGFloat) -> Font {
return Font.customized("OpenSans-Mild", measurement: measurement)
}
}
and the way it’s used:
import SwiftUI
struct MonthTextView: View {
personal let textual content: String
init(textual content: String) {
self.textual content = textual content
}
var physique: some View {
Textual content(textual content)
.font(.openSansLight(withSize: 24))
}
}
After all my data.plist and supply information:
Is there some limitations or sth else that it isn’t displayed appropriately? It occurs solely on iPadOS, on iOS it really works at all times appropriately even I add 10 or extra the identical widgets to the house view.