tags:

views:

58

answers:

0

I am calling UIGraphicsGetCurrentContext() in -drawRect: of a UIView inherited class. Then view is added on an scrollView. In -scrollViewDidEndZooming: withView: atScale: I am initiating the view's -setNeedsDisplay. So calling UIGraphicsGetCurrentContext() gives memory warning.

Please anyone help me in fixing this.