iOS 13 UITextView converting UITextView to image is not working properly. Working fine in below iOS 12

后端 未结 5 1650
鱼传尺愫
鱼传尺愫 2020-12-10 07:28

How to solve this issue in iOS 13? I am taking screenshot of UITextView content size..Till iOS 12 everything is working fine. But issue with iOS 13 onwards it\'s not taking

5条回答
  •  误落风尘
    2020-12-10 08:14

    Seems that the issue is with the layer for me setting the content size for the layer worked. before the render in context set the layer frame property with the size required this will draw the complete content in the image. hope this helps

提交回复
热议问题