My application initially had a standard action list displaying email and print options for the PDF being viewed. I tracked these events using Google Analytics.
Now I have replaced the action sheet with a UIDocumentInteractionController to allow opening PDF files in external applications. This works great, however, there seems to be no way to track email and print events for my Google Analytics. I can easily track which application opens using
- (void)documentInteractionController:(UIDocumentInteractionController *)controller willBeginSendingToApplication:(NSString *)application
There does not seem to be an equivalent function that I can use to track email, print, copy, etc. Does anyone know how I can determine if these buttons were pressed, or determine if one of these specific events was triggered
Seank source
share