Analytics: Move code from AppDelegate to a dedicated class: Analytics

This commit is contained in:
manuroe
2018-06-27 09:55:06 +02:00
parent 6b3efd5a2e
commit fff8f2f14e
38 changed files with 232 additions and 112 deletions
@@ -144,7 +144,7 @@
[super viewWillAppear:animated];
// Screen tracking
[[AppDelegate theDelegate] trackScreen:_screenName];
[[Analytics sharedInstance] trackScreen:_screenName];
// Check whether the access to the local contacts has not been already asked.
if (ABAddressBookGetAuthorizationStatus() == kABAuthorizationStatusNotDetermined)