Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi,

try to get main thread.

dispatch_sync(dispatch_get_main_queue(), ^{
    UIImage *imgSegnales = [UIImage imageNamed:@"logo4w.png"];
   [self.imageView setImage:imgSegnales];
    [self.view setNeedsDisplay];
});

Hi,

try to get main thread.thread.

dispatch_sync(dispatch_get_main_queue(), ^{
    UIImage *imgSegnales *imgSegnale = [UIImage imageNamed:@"logo4w.png"];
imageNamed:@"testImage.png"];
 [self.imageView setImage:imgSegnales];
 [self.imgViewSegnale setImage:imgSegnale];
    [self.view setNeedsDisplay];
});