iOS调用系统视频分享参考
2017-05-01 11:30
302 查看
iOS调用系统分享参考
http://blog.csdn.net/liyun123gx/article/details/60875633
http://blog.csdn.net/lcg910978041/article/details/51649289
@property (nonatomic,strong) UIDocumentInteractionController *documentController;
// if (_videoPath == nil) {
// return;
// }
NSURL *url = [[NSBundle mainBundle] URLForResource:@"test" withExtension:@"pdf"];
// NSURL * url = [NSURL fileURLWithPath:_videoPath];
_documentController = [UIDocumentInteractionController interactionControllerWithURL:url];
UIViewController * vc = [UIApplication sharedApplication].keyWindow.rootViewController;
[self.documentController presentOpenInMenuFromRect:[UIScreen mainScreen].bounds inView:vc.view animated:YES];
self.documentController.delegate = self;
http://blog.csdn.net/liyun123gx/article/details/60875633
http://blog.csdn.net/lcg910978041/article/details/51649289
@property (nonatomic,strong) UIDocumentInteractionController *documentController;
// if (_videoPath == nil) {
// return;
// }
NSURL *url = [[NSBundle mainBundle] URLForResource:@"test" withExtension:@"pdf"];
// NSURL * url = [NSURL fileURLWithPath:_videoPath];
_documentController = [UIDocumentInteractionController interactionControllerWithURL:url];
UIViewController * vc = [UIApplication sharedApplication].keyWindow.rootViewController;
[self.documentController presentOpenInMenuFromRect:[UIScreen mainScreen].bounds inView:vc.view animated:YES];
self.documentController.delegate = self;
相关文章推荐
- iOS-调用系统的短信和发送邮件功能,实现短信分享邮件分享
- iOS-调用系统的短信和发送邮件功能,实现短信分享邮件分享
- IOS在选择照片和放视频时及调用系统功能显示英文 改为显示中文
- iOS 调用系统原生分享的一些体会
- ios 通过调用系统摄像头拍照,拍视频,然后写入文件
- 利用UIActivityController调用ios系统自带的分享功能,实现微信发布多图的功能
- iOS-调用系统的短信和发送邮件功能,实现短信分享邮件分享
- iOS 调用本地系统分享
- ios 调用系统自带分享
- ios6.0 调用系统api 分享到 twitter facebook weibo
- iOS中 读取相册,调用系统相机 技术分享
- iOS 系统原生分享图片 文字 音乐 纯视频 网页
- ios开发调用系统相机(照片/视频)
- iOS中 读取相册,调用系统相机 技术分享
- iOS 调用系统短信,邮件分享
- iOS利用系统分享实现分享视频功能
- iOS-调用系统的短信和发送邮件功能,实现短信分享邮件分享
- iOS开发之调用系统原生分享功能
- iOS利用系统分享实现分享视频功能