- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
当我打印 PHAsset 的描述时,它包括 assetSource=3 或 assetSource=0。 我可以知道这是什么吗assetSource 是什么意思?像 3,0 这样的数字与什么有关?根据我对 assetSource=3 的特定 PHAsset 的观察,其 ALAssetsLibrary defaultRepresentation URL 包括 ext=MOV 和 assetSource = 0 的 PHAsset 其ALAssetsLibrary defaultRepresentation URL 包括 ext=mov。 assets-library URL ext 和 assetSource 是否相关?我请求有人澄清我的问题。
我已经浏览了以下链接 PHAsset: What is 'assetSource'? .但是没有得到澄清。
最佳答案
可能与 iOS9 中即将推出的 PHAssetSourceType 有关。
struct PHAssetSourceType : OptionSetType { init(rawValue rawValue: UInt)
static var TypeNone: PHAssetSourceType { get }
static var TypeUserLibrary: PHAssetSourceType { get }
static var TypeCloudShared: PHAssetSourceType { get }
static var TypeiTunesSynced: PHAssetSourceType { get }
}
关于ios - PhotoKit 框架 : What is assetSource of PHAsset?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29936512/
我正在枚举 PHFetchResult。如果我对返回的 PHAssets 执行 println,我会得到: 4CBE5A4F-90BD-438B-954E-6FF1B14538CD/L0/001 m
当我打印 PHAsset 的描述时,它包括 assetSource=3 或 assetSource=0。 我可以知道这是什么吗assetSource 是什么意思?像 3,0 这样的数字与什么有关?根据
我是一名优秀的程序员,十分优秀!