我的ImageView我想從URL加載圖像,但它沒有加載我用下面的代碼,而不是的UIImageView不從URL iphone加載圖像
pdfView.hidden=NO;
webView.hidden=NO;
pictureImageView.hidden=NO;
pdfView.backgroundColor=[UIColor clearColor];
doneButton = [[UIBarButtonItem alloc]initWithTitle:@" Done " style:UIBarButtonItemStyleBordered target:self action:@selector(doneButtonClick)];
self.navigationItem.leftBarButtonItem =doneButton;
webView.backgroundColor=[UIColor clearColor];
NSLog(@"File Name is %@",fileName);
NSLog(@"Enterning in the ImageSection");
NSString *ImageURL = fileName;
NSData *imageData = [NSData dataWithContentsOfURL:[NSURL URLWithString:ImageURL]];
pictureImageView.image = [UIImage imageWithData:imageData];
,如果我想從當地給像下面然後還要它不顯示圖像的ImageView任何想法如何從URL加載圖像感謝該圖像的
pictureImageView.image=[UIImage imageNamed:@"starblue.png"];
imageUrl contains images? –
你給frameImageView? – AkaMu
bad code formatting .. – rptwsthi