Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想存储PHAsset.localIdentifier在我的数据库中。同步这没有意义,因为每个设备对于给定的照片都有不同的标识符。我可以以某种方式将 Ensambles 配置为在同步时忽略一个属性吗?
PHAsset.localIdentifier
您可以在模型的用户信息中将 CDEIgnoredKey 添加到属性中,值为 1,Ensembles 将不会同步该属性。