-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
导出工程有一个#define UNITY_USES_REMOTE_NOTIFICATIONS的坑 #36
Comments
好的,谢谢支持。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我的Unity版本2017
在导出Xcode项目之后,必须将
Preprocessor.h 文件中
#define UNITY_USES_REMOTE_NOTIFICATIONS 0
更改为
#define UNITY_USES_REMOTE_NOTIFICATIONS 1
否则
didReceiveRemoteNotification
didRegisterForRemoteNotificationsWithDeviceToken
didReceiveRemoteNotification
都将无法使用
请在说明文档中写明这个修改
The text was updated successfully, but these errors were encountered: