Question

I've setup heatma.ps SDK inside my iPad app, it contains plenty of custom view controllers and I decided to track my UITableView which uses a custom UITableViewCell. <-- I hope this is not the main cause of the problem.

I've made sure heatmaps.showMenu = YES is inside the app delegate.

Also, I can see swipe gestures and screen rotation printed in the output. Which means the SDK is setup properly.

However, when I shake the device or simulator, the info button is not appearing. I was concerned if it was appearing behind my table view cells, so I reduced the alpha values of them, but the info button is still not there.

Was it helpful?

Solution

When you shake your device (simulator or device) your tracked object in this case UITableView will receive a call to add info button as its subview. If you are not seeing the info button it could be due to your view architecture, something either over lays your UITableView or you didn't subclass the UIWindow object from HMUIWindow object that catches the shake motion and calls display info button methods.

EDIT

To find out if you properly subclassed UIWindow from HMUIWindow just shake your device and look in the console for the debug info like:

2011-12-26 17:10:01.963 Test[645:f803] [HEATMA.PS] Store shake for 88888888
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top