当我添加谷歌分析库时,我有这个警告
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_NSAttributeDescription", referenced from:
objc-class-ref in libGoogleAnalytics.a(GAICoreDataUtil.o)
objc-class-ref in libGoogleAnalytics_debug.a(GAICoreDataUtil.o)
"_OBJC_CLASS_$_NSFetchRequest", referenced from:
objc-class-ref in libGoogleAnalytics.a(GAIDataStore.o)
objc-class-ref in libGoogleAnalytics_debug.a(GAIDataStore.o)
"_NSSQLiteErrorDomain", referenced from:
l003 in libGoogleAnalytics.a(GAIDataStore.o)
Run Code Online (Sandbox Code Playgroud)
请帮我
我想将Google Analytics跟踪功能集成到我的IOS APP中.
我已整合Google Analytics Library并将其添加到我的应用程序中.
比照 https://developers.google.com/analytics/devguides/collection/ios/v2/
进入我的代码来跟踪我的查看联系人
- (void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view from its nib.
self.trackPageView = @"Contact Screen";
//
}
Run Code Online (Sandbox Code Playgroud)
有一个错误"在'ContactViewController'类型的对象上找不到"属性'TrackPageView'
var rows = document.getElementsByClassName('row');
for (var i = 0, l = rows.length; i < l; i++) {
if (i % 2 === 0) {
$(rows[i]).click(function () {
alert('I am line number ' + i);
}
}
}
Run Code Online (Sandbox Code Playgroud)
嗨,我怎样才能获得每一行的实际行号?因为当我在偶数行上触发click事件时我得到的所有内容都会被警告上限值(即:rows.length = 7,i对于每一行点击将为6).