error with CGImageCreateWithImageProvider

1.1k Views Asked by At

I'm use rendering in drawRect, but first time I always get error:

< Error >: CGImageCreateWithImageProvider: invalid image size: 768 x 768.

I draw image with dimensions 768x500. First time image don't draw into context, but next times it is draws.

What is it ?

0

There are 0 best solutions below