Ajustar imagem de tamanho aleatório a um UIWebview (IOS)

Quero encaixar uma imagem grande no UIwebview mantendo a proporção da imagem igual à visualização da imagem.

Como eu posso fazer isso.?

Meu código da seguinte forma para ajustar a imagem no Uiwebview. se a imagem for grande, a exibição não será boa.

                CGFloat screenWidth = self.view.frame.size.width;
                CGFloat screenHeight = self.view.frame.size.height;

                NSString *htmlString = [NSString stringWithFormat:@"%@", @"<html><head><meta name='viewport' content='user-scalable=yes,width=device-width'></head><body bgcolor='000000'><img src='%@' width='%f' height='%f' style='max-width:200% max-height:200%'></body></html>"];
                imageHTML  = [[NSString alloc] initWithFormat:htmlString, fileUrl, screenWidth, screenHeight];

        [Webview loadHTMLString:imageHTML baseURL:nil];
        [imageHTML release];

questionAnswers(0)

yourAnswerToTheQuestion