We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ZLPhotoBrowser/Sources/General/ZLPhotoModel.swift
Line 116 in 3ee2715
在一台iPhone 11 Pro Max发现LivePhoto的mediaSubtypes = 520, 导致无法识别LivePhoto
iPhone 11 Pro Max
LivePhoto
mediaSubtypes
mediaSubtypes是OptionSet, 为什么不使用mediaSubtypes.contains(.photoLive)这种方式判断LivePhoto?
OptionSet
mediaSubtypes.contains(.photoLive)
The text was updated successfully, but these errors were encountered:
emmm,没这么写是之前oc版本翻译过来的😂,你那边测试下如果改成这样是不是就好了
if asset.mediaSubtypes.contains(.photoLive) { return .livePhoto }
Sorry, something went wrong.
抄了被测试发现某些手机完全不识别的问题😂 测试了是可以的
那我下个版本改成这样判断
8fa2fba
No branches or pull requests
ZLPhotoBrowser/Sources/General/ZLPhotoModel.swift
Line 116 in 3ee2715
在一台
iPhone 11 Pro Max
发现LivePhoto
的mediaSubtypes
= 520, 导致无法识别LivePhoto
mediaSubtypes
是OptionSet
, 为什么不使用mediaSubtypes.contains(.photoLive)
这种方式判断LivePhoto
?The text was updated successfully, but these errors were encountered: