• <small id='lsxgW'></small><noframes id='lsxgW'>

      <tfoot id='lsxgW'></tfoot>
        <bdo id='lsxgW'></bdo><ul id='lsxgW'></ul>
    1. <legend id='lsxgW'><style id='lsxgW'><dir id='lsxgW'><q id='lsxgW'></q></dir></style></legend>
        <i id='lsxgW'><tr id='lsxgW'><dt id='lsxgW'><q id='lsxgW'><span id='lsxgW'><b id='lsxgW'><form id='lsxgW'><ins id='lsxgW'></ins><ul id='lsxgW'></ul><sub id='lsxgW'></sub></form><legend id='lsxgW'></legend><bdo id='lsxgW'><pre id='lsxgW'><center id='lsxgW'></center></pre></bdo></b><th id='lsxgW'></th></span></q></dt></tr></i><div id='lsxgW'><tfoot id='lsxgW'></tfoot><dl id='lsxgW'><fieldset id='lsxgW'></fieldset></dl></div>

        使用 UIWebView,我可以使用自定义字体吗?

        Using a UIWebView, can I use a custom font?(使用 UIWebView,我可以使用自定义字体吗?)
        <tfoot id='9VkPA'></tfoot>

          <i id='9VkPA'><tr id='9VkPA'><dt id='9VkPA'><q id='9VkPA'><span id='9VkPA'><b id='9VkPA'><form id='9VkPA'><ins id='9VkPA'></ins><ul id='9VkPA'></ul><sub id='9VkPA'></sub></form><legend id='9VkPA'></legend><bdo id='9VkPA'><pre id='9VkPA'><center id='9VkPA'></center></pre></bdo></b><th id='9VkPA'></th></span></q></dt></tr></i><div id='9VkPA'><tfoot id='9VkPA'></tfoot><dl id='9VkPA'><fieldset id='9VkPA'></fieldset></dl></div>
        • <small id='9VkPA'></small><noframes id='9VkPA'>

            <tbody id='9VkPA'></tbody>
          <legend id='9VkPA'><style id='9VkPA'><dir id='9VkPA'><q id='9VkPA'></q></dir></style></legend>

              <bdo id='9VkPA'></bdo><ul id='9VkPA'></ul>

                  本文介绍了使用 UIWebView,我可以使用自定义字体吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我在网上看到了所有关于在 iPhone OS 中使用自定义字体的困难的讨论.是否可以将我的包中的字体加载到 UIWebView 组件中?

                  I've seen all the talk on the web about the difficulty of using a custom font in iPhone OS. Is it possible, to load a font from within my bundle into the UIWebView component?

                  我在Rusty Brick"的名为Omer"的应用程序中看到它......这似乎是一个网络视图,因为我看到了延迟,并且在加载延迟期间,自定义区域是白色的.这可能是什么其他组件?

                  I saw it in the app called "Omer" by "Rusty Brick"... It seems to be a web view, because I see a delay and during the loading delay the custom area is white. What other component could this have been?

                  我联系了 Rusty Brick.他们告诉我它是哪种字体.标准字体.

                  I contacted Rusty Brick. They told me which font it was. A standard font.

                  推荐答案

                  iOS3.2及以上的UIWebView可以加载自定义字体.将字体添加到您的捆绑包中(请参阅 在这里) 然后像引用任何其他字体一样引用 UIWebView 样式表中的字体:

                  It is possible to load custom fonts into your UIWebView in iOS3.2 and above. Add the font to your bundle (see here) then just reference the font in your UIWebView's stylesheet like you would any other font:

                  <style type='text/css'>font { font-family: DroidSerif; } </style>
                  

                  这篇关于使用 UIWebView,我可以使用自定义字体吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Hardware Volume buttons change in app volume(硬件音量按钮更改应用程序音量)
                  Cocos2d - How to check for Intersection between objects in different layers(Cocos2d - 如何检查不同层中对象之间的交集)
                  Highlight Read-Along Text (in a storybook type app for iPhone)(突出显示朗读文本(在 iPhone 的故事书类型应用程序中))
                  Cocos2D + Disabling only Retina iPad Graphics(Cocos2D + 仅禁用 Retina iPad 图形)
                  Proper cocos2d scene restart?(正确的 cocos2d 场景重启?)
                  [ios.cocos2d+box2d]how to disable auto-rotation?([ios.cocos2d+box2d]如何禁用自动旋转?)
                    <legend id='mWJtQ'><style id='mWJtQ'><dir id='mWJtQ'><q id='mWJtQ'></q></dir></style></legend>
                    • <bdo id='mWJtQ'></bdo><ul id='mWJtQ'></ul>
                        <tbody id='mWJtQ'></tbody>

                      <tfoot id='mWJtQ'></tfoot>

                        <i id='mWJtQ'><tr id='mWJtQ'><dt id='mWJtQ'><q id='mWJtQ'><span id='mWJtQ'><b id='mWJtQ'><form id='mWJtQ'><ins id='mWJtQ'></ins><ul id='mWJtQ'></ul><sub id='mWJtQ'></sub></form><legend id='mWJtQ'></legend><bdo id='mWJtQ'><pre id='mWJtQ'><center id='mWJtQ'></center></pre></bdo></b><th id='mWJtQ'></th></span></q></dt></tr></i><div id='mWJtQ'><tfoot id='mWJtQ'></tfoot><dl id='mWJtQ'><fieldset id='mWJtQ'></fieldset></dl></div>
                          1. <small id='mWJtQ'></small><noframes id='mWJtQ'>