ios - Xamarin iOS - 自定义字体未出现在主 Storyboard 中
<p><p>所以我需要为我的项目使用自定义字体,字体是 AgencyFB Bold,所以我所做的是</p>
<ol>
<li>导入资源文件夹中的文件</li>
<li>在 info.plist 中添加 UIAppfonts</li>
<li>将捆绑操作设置为捆绑资源</li>
</ol>
<p>和属性到和不复制
问题是字体停止显示在 Storyboard编辑器中,我在重新启动 Visual Studio 几次后让它工作一次,但从那以后我无法让它工作,它只是没有出现在自定义字体中。我尝试重新导入文件,重新安装 Visual Studio,确认我在 info.plist 中输入了正确的字体名称和扩展名,它仍然是一样的。有人可以帮我吗,我已经整天坚持这个了。先感谢您! </p></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><p>这是正常的在线问题,最好的解决方案是使用自定义字体<strong>在代码中</strong>。 </p>
<p>您也可以将其归档到 <a href="https://bugzilla.xamarin.com/" rel="noreferrer noopener nofollow">Bugzilla</a> .</p>
<p>引用</p>
<p> <a href="https://forums.xamarin.com/discussion/29310/using-custom-fonts-in-the-storyboard" rel="noreferrer noopener nofollow">Using Custom Fonts in the Storyboard</a> </p>
<p> <a href="https://forums.xamarin.com/discussion/62954/custom-font-not-showing-in-xamarin-storyboard" rel="noreferrer noopener nofollow">Custom Font not showing in Xamarin Storyboard</a> </p>
<p> <a href="https://forums.xamarin.com/discussion/37301/xamarin-ios-using-a-custom-font" rel="noreferrer noopener nofollow">Xamarin iOS Using a Custom Font</a> </p></p>
<p style="font-size: 20px;">关于ios - Xamarin iOS - 自定义字体未出现在主 Storyboard 中,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/49836281/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/49836281/
</a>
</p>
页:
[1]