Azure Notification Hub doesn't seem to work with ios 10 and swift 3

我只是一个虾纸丫 提交于 2019-12-11 06:24:39

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!