I have implemented Google Analytic in my app,I would like to use Display Feature of Google Analytics which is explained here https://developers.google.com/analytics/devguides/collection/ios/v3/display-features#overview
I am using the same code as describe in doc
id tracker = [[GAI sharedInstance] defaultTracker];
tracker.allowIDFACollection = YES;
But its giving me the error Property 'allowIDFACollection' not found on object of type '__strong id'
I have also linked the libAdIdAccess.a and AdSupport.framework, but the error is still there