2013-08-28 41 views
0

我有一个奇怪的行为,以下代码在iPad Sim 6.1上'结果'失败(返回NO),但在iPhone Sim 6.1上成功(返回YES),任何想法为什么?iOS:谷歌Analytics(分析)sendEventWithCategory返回NO在iPad模拟

id result = [[GAI sharedInstance] trackerWithTrackingId:GA_TRACKING_ID]; 
    BOOL result = [[[GAI sharedInstance] defaultTracker] 
     sendEventWithCategory:category 
     withAction:action 
     withLabel:label withValue:nil]; 

回答

0

找到了解决方法:跟踪器是误关闭,有时beween init和事件