Search code examples
ios5uiduidevice

Tracking an iOS App user


All,

I would like to collect stats on what users are entering into my apps' search box so I created a web service that phones home with the search string they typed in along with the number of results it returned.

How can I relate these search stats to a specific device? I heard that Apple is going to disallow the access of user device ids:

//deprecated
[[UIDevice currentDevice] uniqueIdentifier]

Solution

  • You could use a third party for your analytics, instead of the web service. Try:

    Flurry.com

    is a good one.

    Then you could use an app like Stats for Flurry to view your statistics:

    Stats for Flurry

    Yes, Apple has deprecated UDID - but they have provided another method to uniquely identify your users per app. You need to use:

    CFUUIDCreate