Skip to content

Instantly share code, notes, and snippets.

- Language List
en: English
zh: 中文
jp: 日本語
ru: Русский
de: Deutsch
fr: Français
lt: Lietuvis
- Contributors
@shaqian
shaqian / AppDelegate.swift
Last active August 28, 2020 18:30
Use Azure Notification Hubs in Swift 4
// Step 1
// Follow all the steps in Get started with Azure Notification Hubs for iOS apps. Stop at 6 in Connect your iOS app to Notification Hubs.
// https://docs.microsoft.com/en-us/azure/notification-hubs/notification-hubs-ios-apple-push-notification-apns-get-started
// Step 2
// Open Swift project in Xcode. Go to TARGETS > your project > General > Linked Frameworks and Libraries. Add WindowsAzureMessaging.framework and UserNotification.framework.
// Step 3
// Create SBNotificationHub-Bridging-Header.h.