6
मैं ट्रैक करने के लिए मेज के जो पंक्ति Google Analytics का उपयोग करट्रैक घटना
NSString *label=[NSString stringWithFormat:@"Section#%i",indexPath.section];
[[GAI sharedInstance].defaultTracker trackEventWithCategory:@"HOME"
withAction:@"Select Row"
withLabel:label
withValue:[NSNumber numberWithInt:indexPath.row]];
चयनित किया गया है इस कोड को कोशिश कर रहे हैं लेकिन मैं हमेशा error "No known instance method for selector trackEventWithCategory:withAction:withLabel:with Value:"
क्या कोई मुझे मार्गदर्शन कर सकता है: मैं ट्रैक करना चाहता हूं कि तालिका की कौन सी पंक्ति का चयन किया गया है, इसलिए Google एनालिटिक्स का उपयोग करके एक ईवेंट बनाया जा सकता है।
आपका त्रुटि कह रही है कि [GAI sharedInstance] .defaultTracker है कोई किसी भी विधि, नाम 'है trackEventWithCategory: withAction: withLabel: मान के साथ:' – iPatel
यह अच्छा एक अन्य खाता है है जैसे ... http://stackoverflow.com/users/3513773/pooja और सवाल हो सकता है http://stackoverflow.com/questions/23308547/how-to-track-event-of-row-selection- इन-मेज-इन-ios – iPatel