That variable is only valid on OSX Apps, not on iOS Apps.
On iOS, the style of the notification is set on the settings of the phone, so the user decides what style he wants for all apps.
Is not possible on iOS to change the style within the app and for just that app.
Check here for confirmation: