[問題] 請問要怎麼處理image檔
我在view1上有這樣的程式碼
-(void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info
{UIImage *image = [info valueForKey:UIImagePickerControllerOriginalImage];
self.photo.image = image;
[self dismissViewControllerAnimated:YES completion:nil];
and
- (IBAction)buttonPress:(id)sender
{
UIImagePickerController *imagePicker =[[UIImagePickerController alloc]init];
imagePicker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
imagePicker.delegate = self;
[self presentViewController:imagePicker animated:YES completion:nil];
}
只是簡單的把圖片放到view1 上
我想要把選到的圖片 放到view2上 不知道要如何進行
我之前都是用core data 來擺放資料 可是圖片好像就行不通
請求貴人相助
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.224.201.131
→
11/30 00:35, , 1F
11/30 00:35, 1F
推
12/01 04:34, , 2F
12/01 04:34, 2F
→
12/01 04:34, , 3F
12/01 04:34, 3F
→
12/01 04:35, , 4F
12/01 04:35, 4F
→
12/02 15:42, , 5F
12/02 15:42, 5F