MixpanelDelegate Protocol Reference
Delegate protocol for controlling the Mixpanel API’s network behavior.
Creating a delegate for the Mixpanel object is entirely optional. It is only necessary when you want full control over when data is uploaded to the server, beyond simply calling stop: and start: before and after a particular block of your code.
Asks the delegate if data should be uploaded to the server.
- (BOOL)mixpanelWillFlush:(Mixpanel *)mixpanel
Mixpanel API instance
Return YES to upload now, NO to defer until later.