ZKAppUsageLogger 0.1.4

ZKAppUsageLogger 0.1.4

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Apr 2017

Maintained by wansong.



  • By
  • bestofsong

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.