Fix PHLivePhoto in Xcode 11 (iOS 13 SDK) error : 'init()' has been explicitly marked unavailable here (Photos.PHLivePhoto)

This commit is contained in:
Frank
2019-08-21 17:48:36 +08:00
parent 507ec687c3
commit e388eaa21e
@@ -18,7 +18,7 @@ import Photos
* [Email](mailto:me@ahmedbekhit.com)
*/
@available(iOS 9.1, *)
@objc public class PHLivePhotoPlus: PHLivePhoto {
@objc public class PHLivePhotoPlus: NSObject {
var pairedVideoPath: URL?
var keyPhotoPath: URL?