Hi, NishanthiKumari-8451. Try to check the following documentation to get how to use in Xamarin.Forms. You could configure the notifications on each platform.
Check the docs:
https://learn.microsoft.com/en-us/azure/developer/mobile-apps/notification-hubs-backend-service-xamarin-forms
https://learn.microsoft.com/en-us/azure/developer/mobile-apps/notification-hubs-backend-service-xamarin-forms#configure-the-native-ios-project-for-push-notifications