Domanda

I decided to use UIRefreshControl in one of my UIViewController instance to support pull to refresh functionality. Since it is only applicable to UITableViewControllers, I converted my controller into a "UITableViewController subclass". However, I am currently making use of Google "Analytics SDK" in my project to track page, views sessions so on and so forth, thus all of my controller classes are already "subclassed" with GAITrackedViewController like below.

Screenshot from Google SDK

How can I use UIRefreshControl without losing the abilities of Google "Analytics SDK" in my view controller?

È stato utile?

Soluzione

GAITrackedViewController is only one of the ways add the tracking inside your iOS app.

There are other Manual Screen Measurement tracking, please visit:-

  1. https://developers.google.com/analytics/devguides/collection/ios/v3/screens#manual

  2. GAITrackedViewController and UITableViewController

So, if you want to use UITableViewControllers, you can still use that.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top