how to change badge number when user receive notification in background mode ( this is my code ) :  func application(_ application: UIApplication,
     didReceiveRemoteNotification notification: [AnyHashable : Any],
     fetchCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Void) {
        
        /*
            let aps = userInfo["aps"] as! [String: AnyObject]
            if let count = aps["badge"] as? Int {
                application.applicationIconBadgeNumber = 2
            }
        */
        
        let custom = notification["custom"] as! [String: AnyObject]
        
        if let home = custom["a"]!["home"] as? String, home == "1" {
            incrementBadgeNumberBy(badgeNumberIncrement: 1)
        }
    }