Hi! I could be missing something here, but in the docs for getNotificationCategoriesWithCompletionHandler
, it states:
But if I haven't set any categories yet, the categories parameter is NULL, not an empty set. Not sure if this is possible docs bug or implementation bugcategories
The set of UNNotificationCategory objects containing your registered notification types. If your app has not yet registered any categories, this parameter is an empty set.