Iphone 将uitextview内容另存为文档文件
我使用将图像添加到uitextviewIphone 将uitextview内容另存为文档文件,iphone,objective-c,cocoa-touch,Iphone,Objective C,Cocoa Touch,我使用将图像添加到uitextview UIImageView *imgView = [[UIImageView alloc] initWithFrame:CGRectMake(10, 10, 100, 50)]; imgView.image = [UIImage imageNamed:@"test.png"]; [Report addSubview:imgView]; 报表在uitextview中的位置 我想像这个应用程序一样,将这个uitextfield中的图像和所有文本保存为doc文
UIImageView *imgView = [[UIImageView alloc] initWithFrame:CGRectMake(10, 10, 100, 50)];
imgView.image = [UIImage imageNamed:@"test.png"];
[Report addSubview:imgView];
报表在uitextview中的位置
我想像这个应用程序一样,将这个uitextfield中的图像和所有文本保存为doc文件
任何这样做的建议首先,您必须决定保存文档的格式(例如html),然后您需要将文本和图像转换为您选择的格式 如果调用web服务是一种选择,那么您可以尝试。您可以发送图像和文本,让它生成并交付文档。我在问题中说,我需要文档文件Microsoft已在此处发布了文档格式规范