Мы можем передать этот объект изображения при перемещении из одного представления в другое .... Рассмотрим "imageToPass" как ваш объект UIImage. Используйте этот код в FirstViewController.m, действие кнопки:
NextViewController *nextView=[[NextViewController alloc]init];
[nextView initialiseWithImage:imageToPass] ;
[self.navigationController pushViewController:nextView animated:YES];
[nextView release];
В «NextViewController.m» используйте следующий код:
-(void)initialiseWithImage:(UIImage*)image{
//Use the "image".`enter code here`
}
или вы также можете напрямую взять NSUserDefault из NextViewController.