/iOS-Demo

Demonstrates Amplitude integration for iOS

Primary LanguageObjective-CMIT LicenseMIT

Amplitude iOS Demo

A simple 2048 derivative. See the original or the fantastic version built by Danqing Liu that this demo is based on.

The Amplitude integration contains these parts:

  • Add the Amplitude SDK using CocoaPods. See Podfile.
  • Amplitude initialization in application:didFinishLaunchingWithOptions.
  • Setting user properties and logging events with properties in M2GameManager.
  • Tracking Push Notifications and Push Notification actions in AppDelegate.