Set default iOS local notification style for application

前端 未结 6 438
囚心锁ツ
囚心锁ツ 2020-11-28 09:25

Starting with iOS 5, there are two notification styles: banner and alert (the \"old\" style). A user can set which style to use for each application in the settings. However

6条回答
  •  一整个雨季
    2020-11-28 09:52

    I would like to add something, since I've opened a TSI and somehow I asked about this and have been answered. From Quinn "The Eskimo!":

    "This depends on you mean. You have some control over how the notification appears based on how you set the UILocalNotification properties (things like alertBody, soundName, and so on). However, if you're asking about the way in which those properties are interpreted (the things the user can customise in Settings > Notifications), those are user preferences and not exposed via any API."

提交回复
热议问题