Skip to content

Commit cb30590

Browse files
authored
Merge pull request #94135 from jwargo/jmw-fix-ios13-anh
fixed typo in a new iOS 13 doc.
2 parents 1d778b6 + 8dcce1c commit cb30590

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/notification-hubs/push-notification-updates-ios-13.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ await hub.SendNotificationAsync(notification);
4444
```csharp
4545
var hub = NotificationHubClient.CreateFromConnectionString(...);
4646
var headers = new Dictionary<string, string> {{"apns-push-type", "alert"}};
47-
var notification = new ApnsNotification("notification text", headers);
47+
var notification = new AppleNotification("notification text", headers);
4848
await hub.SendNotificationAsync(notification);
4949
```
5050

@@ -68,7 +68,7 @@ Setting this value to 10 is no longer allowed for background notifications, and
6868
```csharp
6969
var hub = NotificationHubClient.CreateFromConnectionString(...);
7070
var headers = new Dictionary<string, string> {{"apns-push-type", "background"}, { "apns-priority", "5" }};
71-
var notification = new ApnsNotification("notification text", headers);
71+
var notification = new AppleNotification("notification text", headers);
7272
await hub.SendNotificationAsync(notification);
7373
```
7474

0 commit comments

Comments
 (0)