CoreText crashes when run in multiple threads

后端 未结 5 1650
-上瘾入骨i
-上瘾入骨i 2021-02-04 08:32

I have a very weird problem with core text, which sometimes randomly and sometimes reproducibly crashes my application. I use it to lay out and render a couple of pages. I do th

5条回答
  •  没有蜡笔的小新
    2021-02-04 09:05

    Please make sure you're retaining the framesetter before reopening it. This is REALLY not meant to be used asynchronous before 4.0!

    CFRelease(framesetter);
    

    Could you also provide the Version of Xcode & iOS you're working with?

提交回复
热议问题