[DEPRECATED] You can use https://github.com/liangtongdev/LTxCore instead
Use LTxCoreFilePreviewViewController instead.
Support both online and local document & Multi-Media File Preview. Easy to use.
- Support QuickLook Type File
- Support Web Page
- Support Multi-Media File
- Custom UI
- File cache
- to be continue
LTFileQuickPreview is available in CocoaPods, specify it in your Podfile:
pod 'LTFileQuickPreview'
iOS 9+
Easy to use, all you need to do is:
init the viewController with file dataSource.
push or show the viewController.
That's all.
//init LTQuickPreviewViewController* quickPreviewVC = [LTQuickPreviewViewController instanceWithURL:url]; //push or show [self.navigationController pushViewController:quickPreviewVC animated:true];
LTFileQuickPreview is available under the MIT license. See the LICENSE file for more info.