Skip to content
This repository was archived by the owner on Jul 22, 2020. It is now read-only.

Commit ef50c37

Browse files
authored
Update README.md
1 parent 1e91895 commit ef50c37

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[![CocoaPods](https://img.shields.io/cocoapods/v/IterableSDK.svg?style=flat)](https://cocoapods.org/pods/IterableSDK)
22
[![License](https://img.shields.io/cocoapods/l/IterableSDK.svg?style=flat)](https://opensource.org/licenses/MIT)
33
[![Docs](https://img.shields.io/cocoapods/metrics/doc-percent/IterableSDK.svg?style=flat)](http://cocoadocs.org/docsets/IterableSDK)
4+
[![Build Status](https://travis-ci.org/Iterable/iterable-ios-sdk.svg?branch=master)](https://travis-ci.org/Iterable/iterable-ios-sdk)
45

56
# Iterable iOS SDK
67

@@ -136,7 +137,7 @@ Yes | Yes | No | `application:didReceiveRemoteNotification:` | Immediately | cal
136137
Yes | No | Yes | `application:didReceiveRemoteNotification:` | On Notification Click | call `trackPushOpen` and pass in `userInfo`
137138
No | N/A | Yes | `application:didFinishLaunchingWithOptions:` | On Notification Click | instantiate an `IterableAPI` and pass in `launchOptions`; a push open will be tracked automatically
138139

139-
*`application:didReceiveRemoteNotification:` is deprecated in iOS10, use `userNotificationCenter(_:willPresent:withCompletionHandler:)` & `userNotificationCenter:didReceiveNotificationResponse:withCompletionHandler:` instead to track push opens.
140+
* f`application:didReceiveRemoteNotification:` is deprecated in iOS10, use `userNotificationCenter(_:willPresent:withCompletionHandler:)` & `userNotificationCenter:didReceiveNotificationResponse:withCompletionHandler:` instead to track push opens.
140141

141142
For more information about local and remote notifications, and which callbacks will be called under which circumstances, see [Local and Remote Notifications in Depth](https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/WhatAreRemoteNotif.html#//apple_ref/doc/uid/TP40008194-CH102-SW1).
142143

@@ -175,13 +176,12 @@ InApp opens and button clicks are automatically tracked when the notification is
175176
Custom events can be tracked using the `track` function and user fields can be modified using the `updateUser` function.
176177

177178
#### Deeplinking
178-
You can setup your app to track email clicks and maintain deeplinking directly into your app with [iOS Universal Links] (https://support.iterable.com/hc/en-us/articles/115000440206).
179-
180-
From your application's [restorationHandler] (https://developer.apple.com/reference/uikit/uiapplicationdelegate/1623072-application) call `getAndTrackDeeplink` along with a callback to handle the original deeplink url.
179+
You can setup your app to track email clicks and maintain deeplinking directly into your app with [iOS Universal Links](https://support.iterable.com/hc/en-us/articles/115000440206).
181180

181+
From your application's [restorationHandler](https://developer.apple.com/reference/uikit/uiapplicationdelegate/1623072-application) call `getAndTrackDeeplink` along with a callback to handle the original deeplink url.
182182

183+
Swift:
183184
```swift
184-
<SWIFT>
185185
func application(_ application: UIApplication, continue userActivity: NSUserActivity,
186186
restorationHandler: @escaping ([Any]?) -> Void) -> Bool {
187187

@@ -193,8 +193,8 @@ func application(_ application: UIApplication, continue userActivity: NSUserActi
193193
}
194194
```
195195

196+
Objective-C:
196197
```objective-c
197-
<OBJECTIVE-C>
198198
- (BOOL)application:(UIApplication *)application
199199
continueUserActivity(NSUserActivity *)userActivity
200200
restorationHandler:(void (^)(NSArray *restorableObjects))restorationHandler {

0 commit comments

Comments
 (0)