Closed arodeus closed 13 years ago
SOLVED!
Preface: I load a LeavesController subclass as Modal View as Full Screen.
Why the error: Using iOS 4.2, load the subclass as modal view seems generate a double time call for (CGImageRef) imageForPageIndex:(NSUInteger)pageIndex (in LeavesCache.m) , generating a NULL when CGBitmapContextCreate is called.
Solution: I added the following code, return nil if CGBitmapContextCreate return NULL
if (context == nil) return nil;
Almost a year later ... thanks for debugging this issue.
iDidn't get the desired answer
ok i got it thanx
Hi! I'm debugging my application on iOS 4.2 GM seed, and I obtain the following error on the simulator console: