Неверный контекст при создании UIImageView

У меня ошибка при попытке создать UIImageView. Посмотрите на этот код:

UIImage* backgroundPanel = [[UIImage imageNamed:@"loginPanelBackground.png"] resizableImageWithCapInsets:UIEdgeInsetsMake(90, 0, 149, 416)];

self.connexionBackgroundImgView = [[UIImageView alloc] initWithImage:backgroundPanel];
self.connexionBackgroundImgView.frame = CGRectMake(0, 0, 416, 390); // THIS LINE PROVOC THE INVALID CONTEXT
[self.connexionView insertSubview:self.connexionBackgroundImgView aboveSubview:self.connexionToCreationCompteView];

Выдает эту ошибку в журнале:

: CGContextSaveGState: invalid context 0x0
: CGContextSetBlendMode: invalid context 0x0
: CGContextSetAlpha: invalid context 0x0
: CGContextTranslateCTM: invalid context 0x0
: CGContextScaleCTM: invalid context 0x0
: CGContextGetCTM: invalid context 0x0
: CGContextSaveGState: invalid context 0x0
: CGContextClipToRect: invalid context 0x0
: CGContextDrawTiledImage: invalid context 0x0
: CGContextRestoreGState: invalid context 0x0
: CGContextGetCTM: invalid context 0x0
: CGContextSaveGState: invalid context 0x0
: CGContextClipToRect: invalid context 0x0
: CGContextDrawTiledImage: invalid context 0x0
: CGContextRestoreGState: invalid context 0x0
: CGContextGetCTM: invalid context 0x0
: CGContextSaveGState: invalid context 0x0
: CGContextClipToRect: invalid context 0x0
: CGContextDrawTiledImage: invalid context 0x0
: CGContextRestoreGState: invalid context 0x0
: CGContextRestoreGState: invalid context 0x0

У меня была эта ошибка только на iPad, а не с симулятором, я неТ понять.. :/

Ответы на вопрос(4)

Ваш ответ на вопрос