【发布时间】:2013-10-17 03:39:13
【问题描述】:
我正在尝试从我的子 ViewController 获取图像并将其上传到我的服务器。这是我的图像代码。
StoryTableViewController *storyTable = [[StoryTableViewController alloc] init];
UIImage *storyImage = storyTable.storyPhotoPreview.image;
NSData *imageData =UIImageJPEGRepresentation(storyImage, 0.8);
我正在导入 StoryTableViewController,它是我的 h 文件中的子 ViewController。 StoryTableViewController 是一个嵌入的 segue。提前感谢您能给我的任何答案。
【问题讨论】:
标签: ios uiimage uitableview nsdata segue