iOS Human Interface Guidelines状态:
You can provide text that appears in the alert, below a system-provided title such as ““App Name” Would Like to Access Your Contacts”
在哪里?我无法在
EKEventStore
中添加我自己的消息的requestAccessToEntityType:completion:
方法。如果这很重要,我想将一个全新的日历添加到用户的日历存储中,而不是修改现有的。我找对地方了吗?
最佳答案
您可以添加NSCalendarsUsageDescription
您的info.Plist
的 key 这应该足够了
来源:Information Property List Key Reference
NSCalendarsUsageDescription (String - iOS) describes the reason that the app accesses the user’s calendars. When the system prompts the user to allow access, this string is displayed as part of the dialog box.
This key is supported in iOS 6.0 and later.
关于ios - 如何将我的文本添加到 iOS 日历访问权限警报?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26139894/