2010-08-11 8 views

Répondre

2

L'ai fait par moi-même.

self.webView.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageWithContentsOfFile:backgroundImage]]; 
0

Dans votre viewDidLoad s'il vous plaît Ajoutez ce code pour l'image de chargement au démarrage

[webView setOpaque:NO]; 
    webView.backgroundColor=[UIColor colorWithPatternImage:[UIImage imageNamed:@"night.jpg"]]; 
0
self.webView.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageWithContentsOfFile:imagePath]]; 
Questions connexes