问题
Details:
Swift version - 3.1
iOS version - 10.3
I'm using WindowsAzureMessaging.framework.
I do follow this guide precisely.
You can see other developers facing the same issue:
Official GitHub rep
SO
Will it ever be fixed?
回答1:
For iOS version 10 or higher you can use this fork of the official GitHub rep, you can find it here https://github.com/pencildrummer/azure-notificationhubs/tree/master/iOS/bin
Because you are using swift, don't forget add Bridging-Header.h
file into your project with included string - #import "WindowsAzureMessaging/WindowsAzureMessaging.h"
来源:https://stackoverflow.com/questions/44259581/azure-notification-hub-doesnt-seem-to-work-with-ios-10-and-swift-3