How to synchronize OpenGL drawing with UIKit updates

前端 未结 6 543
深忆病人
深忆病人 2020-12-24 02:24

In our app we have UIScrollView above CAEAGLLayer. UIScrollView contains some UIViews (red rectangles). In CAEAGLLayer we draw white rectangles. Centers of white rectangles

6条回答
  •  情歌与酒
    2020-12-24 02:56

    In fact, you can't synchronize them using current APIs. MobileMaps.app and Apple Map Kit use private property on CAEAGLLayer asynchronous to workaround this issue.

    Here is related radar: http://openradar.appspot.com/radar?id=3118401

提交回复
热议问题