sk-client/Assets/Plugins/iOS/ThinkingSDK/Source/AutoTrack/UIKit/UIViewController+AutoTrack.m

17 lines
433 B
Objective-C

#import "UIViewController+AutoTrack.h"
#import "TDAutoTrackManager.h"
#import "TDLogging.h"
@implementation UIViewController (AutoTrack)
- (void)td_autotrack_viewWillAppear:(BOOL)animated {
@try {
[[TDAutoTrackManager sharedManager] viewControlWillAppear:self];
} @catch (NSException *exception) {
TDLogError(@"%@ error: %@", self, exception);
}
[self td_autotrack_viewWillAppear:animated];
}
@end