Creates and returns a settings object that you can use to register your requested notification and action types.
- iOS 8.0–10.0Deprecated
A new user notification settings object that you can register with the
Use this method to create a new settings object that you intend to register with the app. When calling this method, specify the types of notifications you intend to deliver to the user such as alerts or sounds. If you intend to display custom actions in your notifications, use this method to register those actions as well.
After creating a new settings object, register that object by calling the
register method of the shared