We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
JPUSHRegisterDelegate
UNUserNotificationCenterDelegate
optional public func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Swift.Void)
options 不能使用NSInteger 否则 swift中无法使用UNNotificationPresentationOptionsNone, 导致ios10中,app在前台的时候,如果不想有提示(badge, alert, sound),而是自定义直接提示就不好实现
The text was updated successfully, but these errors were encountered:
建议将NSInteger 改为UNNotificationPresentationOptions
Sorry, something went wrong.
No branches or pull requests
JPUSHRegisterDelegate
UNUserNotificationCenterDelegate
optional public func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Swift.Void)
options 不能使用NSInteger 否则 swift中无法使用UNNotificationPresentationOptionsNone, 导致ios10中,app在前台的时候,如果不想有提示(badge, alert, sound),而是自定义直接提示就不好实现
The text was updated successfully, but these errors were encountered: