Cannot use custom font on Xamarin iOS

前端 未结 1 1661
囚心锁ツ
囚心锁ツ 2021-01-27 04:08

I\'ve been trying to use a custom font on Xamarin iOS but it simply does not work. This is my info.plist:

    UIAppFonts

            


        
相关标签:
1条回答
  • 2021-01-27 04:43

    Open the font in the macOS Font Book app and review the actual name:

    PostScript name BebasNeueRegular
          Full name Bebas Neue Regular
    

    So, in your code:

    <On Platform="iOS" Value="Bebas Neue Regular" />
    

    Re: https://stackoverflow.com/a/41567423/4984832

    Re: https://stackoverflow.com/a/48191854/4984832

    Re: https://stackoverflow.com/a/36942128/4984832

    0 讨论(0)
提交回复
热议问题