How can I implement backendless push notification in swift 3?

Hello

I tried following method in appDelegate.swift file in order to use backendless push notification.

func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) → Bool { backendless.sahredInstance().initApp(APP_ID, secret:SECRET_KEY, version:VERSION_NUM) backendless.sahredInstance().messaging.registerForRemoteNotifications() return true}

But I have failed.
there are no exist above statement.

please check following screenshot.

Would you please let me know the solution?

Regards

Andrei

Yes, you’re right. The registerForRemoteNotifications method is provided by Apple, not by Backendless. Please, check this documentation: https://backendless.com/docs/ios/doc.html#device-registration.

Regards, Olga

I see.

I understand.
But, I referenced following linked document.

https://backendless.com/documentation/messaging/ios/messaging_device_registration.htm

Regards, Andrei

This link is for Backendless v3.
And this link is for Backendless v4.

Regards, Olga

Ah, I understand.

Thanks for your helping.

Thanks Olga

Regards

Andrei