How to use "SFProDisplay-Bold" font in Xamarin iOS project.

I want to use the "SFProDisplay-Bold" font in iOS project but without adding the font files in the project as this font file is 2.2 MB and it increases the App size. To see what the default system font is, added the below code in our iOS project:

var systemFont = UIFont.SystemFontOfSize(20, UIFontWeight.Bold).Name; Debug.WriteLine($"System: {systemFont.FamilyName}"); This above code gave output from our project as follows -> System: .AppleSystemUIFont and the systemFont is ".SFUI-Bold" . I believe that SFUI and SF Pro Display are different fonts(correct me if wrong)

Need more clarity for ways on how to implement specific font "SF Pro Display".

  • Also I am saying that both ".SFUI-Bold" used in xaml code and "SFProDisplay-Bold" font file added in the project shows output which has slight spacing difference. The official site mentions SF Pro as the System font and has no mention for SFUI apple developer This Wiki link says SF Pro/SF UI Wikipedia Thus , here I see confusion whether SF Pro is named as SF UI OR both are different. linkText

Add a Comment