Hello People,
i have implemented a small method that imports an picture on the iPhone screen, but the picture is a little bit to big for the screen. This is the Method:
- (void)ladeImage {
id path = @"http://172.23.1.63:8080/RestfulJava/pics";
NSURL *url = [NSURL URLWithString:path];
NSData *data = [NSData dataWithContentsOfURL:url];
UIImage *img = [[UIImage alloc] initWithData:data];
UIImageView *imgView = [[UIImageView alloc] initWithImage:img];
[self.view addSubview:imgView];
}
But is there any method to scall the picture on the iPhone screen?
Greetings and thank you all for Helping Marco