
Camera应用程序更进一步,甚至可以在您选择和取消选择照片时实时更新文档交互控制器的选项.
但是,UIdocumentInteractionController类似乎只允许单个URL参数.
是否可以使用公共API执行照片和相机应用程序的 *** 作?
解决方法- (voID)showShareDialog{ UIImage *image = [UIImage imageWithCGImage:self.imgVIEw.image.CGImage]; NSArray* dataToShare = @[image,image2,image3]; // ...or whatever pIEces of data you want to share. UIActivityVIEwController* activityVIEwController = [[UIActivityVIEwController alloc] initWithActivityItems:dataToShare applicationActivitIEs:nil]; [self presentVIEwController:activityVIEwController animated:YES completion:^{ }];} 我认为这应该有所帮助
总结以上是内存溢出为你收集整理的ios – 是否可以为多个项目提供UIDocumentInteractionController?全部内容,希望文章能够帮你解决ios – 是否可以为多个项目提供UIDocumentInteractionController?所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)