The Telerik Platform product is retired.Learn more

Interactive Push for iOS

iOS Native

Interactive Push Notifications Sample for iOS


This repository contains a basic sample app that allows you to register an iOS device for push notifications using custom category and UI actions. It is a native app built using XCode and Swift.

The sample app utilizes the Telerik Backend Services iOS SDK to connect the app to Telerik Platform.


Before you begin, you need to ensure that you have the following:

  • An active Telerik Platform account Ensure that you can log in to a Telerik Platform account. This can be a free trial account.
  • SSL push certificates These come in Development or Production flavors and are issued for APNS (Apple Push Notifications Service) by Apple.
  • A Compatible XCode version XCode 5 or or later must be installed on your Mac.


The sample app comes fully functional, but to see it in action you must link it to your own Telerik Platform account.

  1. Log in to the Telerik Platform web portal.
  2. Click your app to open it.
  3. Click the Data tab and then click Enable Data.
  4. Click the Settings tab.
  5. Take note of your App ID.
  6. In Xcode, open the SwiftNotifications/AppDelegate.swift file.
  7. Find YOUR_APP_ID and replace it with the App ID that you acquired earlier.
  8. Go back to the Telerik Platform web portal and set up push notifications in your app as explained in Enabling Push Notifications.

Running the Sample

Once the app is configured, you can run it on a real device from within Xcode.

Push notifications are not supported when running the app on device simulators.

Ensure that the device that you are using has Internet connectivity when running the sample.

Test the Sample

The custom category that the app registers is called MY_CATEGORY. To send an interactive push notification that uses it, ensure that its Category field is set to MY_CATEGORY. You can compose a push notification using either the Telerik Platform portal or the various client SDKs.

See Also

Getting Started with Push Notifications

Contact us: +1-888-365-2779
Copyright © 2016-2017, Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.