Skip to content
TCClick统计平台IOS客户端源码
Objective-C Ruby Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
TCClickTestApplication
release
tcclick.xcodeproj
tcclick
tcclickTests
.gitignore
LICENSE
README.md
lipo
tcclick.podspec

README.md

TCClick统计平台IOS客户端

使用步骤:

  1. 下载libtcclick.a,加入到项目的 "Linked Frameworks and Libraries" 当中去,点击下载libtccilck.a

  2. 下载TCClick.h头文件,把文件加入到项目中去,点击下载TCClick.h

  3. 在你项目的AppDelegate.m文件中,加入 #import "TCClick.h",然后在 didFinishLaunchingWithOptions 方法中加入类似下面的代码:

     - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{
         [TCClick start:@"http://tcclicktest.sinaapp.com/api/upload.php" channel:@"dev"];
         ....
     }
    
  4. 加入tcclick的依赖库:libsqlite3.dylib, libz.dylib, CoreTelephony.framework, SystemConfiguration.framework

  5. 至此,TCClick的配置就完成了,启动应用,你的服务器端如果配置正确的话就可以看到数据了

关于uniqueIdentifier被禁用

最新版本已去除对uniqueIdentifier函数的调用,并且完全兼容之前的版本,更新tcclick不会导致用户被重复计数

You can’t perform that action at this time.