是否有可能通过 AB API 以某种方式破坏 iOS AddressBook 中的数据?
例如,用奇怪的符号写一些字段。有人遇到过这样的问题吗?我正在评估在 iPhone AB 中存储自定义字符串字段的机会,我想知道是否存在损坏 AB 的风险。
UPD:
我的意思是,我可以对 AB 数据做一些不好的事情,这样 Contacts.app 就会停止工作吗?
To write some fields with strange symbols, for instance. Did anyone come across such issues? I'm evaluating an opportunity of storing my custom string field in iPhone AB and I want to know, if there is any risk to corrupt AB.
UPD:
I mean, can I do something that bad with AB data, so Contacts.app stops working?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
嘿
我有一个将数据存储在地址簿中的应用程序。当然,如果您编码不小心,可能会损坏用户数据。至于地址簿 API,苹果为开发人员提供了几乎所有操作的能力,错误的编码甚至可以删除或操作错误的联系人等。
Apple 在地址簿文档中提供了一些指南,可以帮助您仔细对待用户地址簿。
正确执行此操作的唯一方法是在分发应用程序之前阅读 carfolly 文档并对其进行测试
Hey
I have an app that stores data in the address book. Of course you can corrupt the user data if you are not careful with your coding. As for the address book API apple gave the developers the ability to do almost everything and bad coding can even delete or manipulate the wrong contacts etc.
Apple has some guide lines in the address book documentation that can help you treat the user address bok carefully.
The only way for you to do it right is to read the docomanttion carfolly and test your application well before you distribute it