2013-08-28 42 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和事件