How to set CATextLayer in video according to frame?

前端 未结 3 1585
栀梦
栀梦 2020-12-12 04:20

I have try many think but no success yet, My question is that I Have one video on that I was provide a functionality to write text over the video and drag/drop that text ove

3条回答
  •  离开以前
    2020-12-12 05:03

    Your code seems fine, but not sure if the frame provided is wrong or right. If you have provided the right frame then add this code, in the end:-

    [titleLayer display];
    

    It will work now!

提交回复
热议问题