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

      <small id='FUIdk'></small><noframes id='FUIdk'>

        <bdo id='FUIdk'></bdo><ul id='FUIdk'></ul>
    2. <tfoot id='FUIdk'></tfoot>

        突出显示朗读文本(在 iPhone 的故事书类型应用程序中)

        Highlight Read-Along Text (in a storybook type app for iPhone)(突出显示朗读文本(在 iPhone 的故事书类型应用程序中))
          <tbody id='wujKd'></tbody>

        <small id='wujKd'></small><noframes id='wujKd'>

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

            <legend id='wujKd'><style id='wujKd'><dir id='wujKd'><q id='wujKd'></q></dir></style></legend>

            • <tfoot id='wujKd'></tfoot>

                  本文介绍了突出显示朗读文本(在 iPhone 的故事书类型应用程序中)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  I love this feature (well, my son loves it), and I would like to implement it in a kid's book app I am doing for iPhone, but I'm clueless where to begin. I'm using Cocos2d for all the animated sprite/transition stuff, but I'm not sure how to approach highlighting text as it is narrated.

                  Example: "Jack and Jill, drank their fill, and were too drunk to go for water." As the text is narrated (.mp3 plays on each page), the text would be highlighted. I considered investigating Core animation, but I"m more familiar with Cocs2d at this point (tenuously at best).

                  If someone has a clue, I'd really appreciate it.

                  Brendang

                  解决方案

                  Use the UIStringDrawing methods to determine the rect needed for the highlight, and then position a semitransparent UIView (or whatever cocos2d uses) under your text view. Synchronize with your audio via NSTimer

                  这篇关于突出显示朗读文本(在 iPhone 的故事书类型应用程序中)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  Hardware Volume buttons change in app volume(硬件音量按钮更改应用程序音量)
                  Cocos2d - How to check for Intersection between objects in different layers(Cocos2d - 如何检查不同层中对象之间的交集)
                  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]如何禁用自动旋转?)
                  Game center facebook like(游戏中心 facebook 喜欢)

                  • <legend id='Kayao'><style id='Kayao'><dir id='Kayao'><q id='Kayao'></q></dir></style></legend>

                    <small id='Kayao'></small><noframes id='Kayao'>

                      <tfoot id='Kayao'></tfoot>

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