1
我以前- (BOOL)presentPreviewAnimated:(BOOL)animated;
加载文档,然后我想借此从doc.So我尝试的iOS UIDocumentInteractionController截图
UIGraphicsBeginImageContext(self.view.bounds.size);
[self.view.layer renderInContext:UIGraphicsGetCurrentContext()];
currentImage=UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
,但它只是把MAINVIEW截图,所以我想找人能告诉我怎么拿文档视图的图层。
它没有工作,现在的形象只是白色 – snorlax 2012-04-11 04:33:54
更新了答案,它现在的作品:) – nacho4d 2012-04-11 05:16:17
它现在正常工作,:) – snorlax 2012-04-11 06:47:35