我已在iPhone应用程序中成功安装heatma.ps SDK(https://heatma.ps)。它跟踪所有触摸和手势,但是摇动设备时无法查看热图。知道为什么吗?没有日志,只是没有显示。

这就是我设置heatmaps对象的方式。

-(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    //...
    heatmaps = [[Heatmaps alloc] init];
    heatmaps.showDebug = YES;
    [heatmaps start];

    //...
}

最佳答案

要查看热图,您需要将showMenu对象的heatmaps属性设置为YES

-(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    //...
    heatmaps = [[Heatmaps alloc] init];
    heatmaps.showDebug = YES;

    heatmaps.showMenu = YES;

    [heatmaps start];

    //...
}


观看以下截屏视频:"Viewing heatmaps"

关于iphone - 使用Heatma.ps SDK无法看到热图,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/8028107/

10-11 15:27