Latest 0.1.4
Homepage https://github.com/bestofsong/ZKAppUsageLogger
License MIT
Platforms ios 8.0
Dependencies JRSwizzle
Frameworks UIKit, AdSupport
Authors

CI Status
Version
License
Platform

Example

1. 配置
[[ZKAppUsageLogger sharedInstance] config:
@{@"logSendHandler": ^(NSDictionary *cpsInfo) {
  if (cpsInfo) {
    [CpsManager postCpsInfo:@[cpsInfo] success:nil failure:nil];
  }
}}];
------------------------------------------------------------------------------------------
2.app启动
[[ZKAppUsageLogger sharedInstance] logAppLaunch];
------------------------------------------------------------------------------------------
3.进入X页面
[[ZKAppUsageLogger sharedInstance] logPageEntrance:@"注册页"];
------------------------------------------------------------------------------------------
4.页面停留时长
由UIViewController+ZKLifeCycleSwizzling自动执行

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

ZKAppUsageLogger is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "ZKAppUsageLogger"

Author

bestofsong, [email protected]

License

ZKAppUsageLogger is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "ZKAppUsageLogger",
    "version": "0.1.4",
    "summary": "A short description of ZKAppUsageLogger.",
    "description": "TODO: Add long description of the pod here.",
    "homepage": "https://github.com/bestofsong/ZKAppUsageLogger",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "bestofsong": "[email protected]"
    },
    "source": {
        "git": "https://github.com/bestofsong/ZKAppUsageLogger.git",
        "tag": "0.1.4"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "ZKAppUsageLogger/Classes/**/*",
    "dependencies": {
        "JRSwizzle": []
    },
    "frameworks": [
        "UIKit",
        "AdSupport"
    ]
}

Pin It on Pinterest

Share This