Make UIImage From UIView but NOT in the main thread

后端 未结 1 1663
忘掉有多难
忘掉有多难 2021-01-19 05:15

I\'m using the well-known pattern to create an UIImage from an UIView:

+ (UIImage *) imageWithView:(UIView *)view
{
    UIGraphicsB         


        
1条回答
  •  天涯浪人
    2021-01-19 05:47

    In the end i just did it in another thread, and everything is working fine.

    0 讨论(0)
提交回复
热议问题