Since iOS 11, users can set notifications as "Persistent" in Settings > Notifications > [Your App]. You can’t override this programmatically.