I would like to download with a shorter timeout so that it is faster and to prevent application crashes in a bad connection.
- (void) CreateTitleView {
NSURL* url;
NSData* imageData;
imageData = [NSData dataWithContentsOfURL:url ];
UIImage* image = [UIImage imageWithData:imageData];
}
I do not know how in the C lens, so I ask you for help to do this. Thank.
source
share