func registerMessageReceive()

in mpush_ios_swift_demo/mpush_ios_swift_demo/AppDelegate.swift [105:111]


    func registerMessageReceive() {
        let notificationName = Notification.Name("CCPDidReceiveMessageNotification")
        NotificationCenter.default.addObserver(self,
                                               selector: #selector(onMessageReceivedFunc(notification:)),
                                               name: notificationName,
                                               object: nil)
    }